[PATCH] dbghelp/tests: try to fix failure in current dbghelp tests

Eric Pouech eric.pouech at gmail.com
Fri Jul 2 03:49:10 CDT 2021


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>


---
 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 7be58c55b91..7fd1f6fb883 100644
--- a/dlls/dbghelp/tests/dbghelp.c
+++ b/dlls/dbghelp/tests/dbghelp.c
@@ -108,7 +108,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-devel mailing list