Eric Pouech : dbghelp/tests: Try to fix failure in current dbghelp tests.

Alexandre Julliard julliard at winehq.org
Tue Jul 6 18:09:36 CDT 2021


Module: wine
Branch: master
Commit: beb13143072eee47a2a718e1b275b0f0e20e4cf8
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=beb13143072eee47a2a718e1b275b0f0e20e4cf8

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Fri Jul  2 10:49:10 2021 +0200

dbghelp/tests: Try to fix failure in current dbghelp tests.

Testbot failures in previous SymGetTypeFromName patch have nothing
to do with that former patch. Trying to address errouneous test.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dbghelp/tests/dbghelp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/dbghelp/tests/dbghelp.c b/dlls/dbghelp/tests/dbghelp.c
index 214adb7b16b..a243d047d18 100644
--- a/dlls/dbghelp/tests/dbghelp.c
+++ b/dlls/dbghelp/tests/dbghelp.c
@@ -106,7 +106,7 @@ static void test_stack_walk(void)
 
         addr = (void *)(DWORD_PTR)frame.AddrPC.Offset;
 
-        if (addr > (char *)stack_walk_thread && addr < (char *)stack_walk_thread + 0x100)
+        if (!found_our_frame && addr > (char *)stack_walk_thread && addr < (char *)stack_walk_thread + 0x100)
         {
             found_our_frame = TRUE;
 




More information about the wine-cvs mailing list