[PATCH 0/1] MR7841: ntdll/tests: Make single step test succeed for 32-bit systems.
Followup to 2c7b47ee5d and 50481d06d2. [Test pattern page](https://test.winehq.org/data/patterns.html#ntdll:exception) [Testbot run with this patch.](https://testbot.winehq.org/JobDetails.pl?Key=157964) This makes 32-bit systems also take the upper branch of the if. CC: @gofman, I hope this matches the purpose of the test? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7841
From: Bernhard Übelacker <bernhardu(a)mailbox.org> Followup to 2c7b47ee5d and 50481d06d2. --- dlls/ntdll/tests/exception.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c index 44343a6927b..01c1472128c 100644 --- a/dlls/ntdll/tests/exception.c +++ b/dlls/ntdll/tests/exception.c @@ -419,7 +419,7 @@ static void test_single_step_address(void) test_single_step_address_run(handler, 0); - if (is_wow64) + if (is_wow64 || sizeof(void*) == 4) ok(test_single_step_exc_address == (char *)code_mem + 1, "got %p, expected %p.\n", test_single_step_exc_address, (char *)code_mem + 1); else @@ -437,7 +437,7 @@ static void test_single_step_address(void) test_single_step_address_run(handler, 3); - if (is_wow64) + if (is_wow64 || sizeof(void*) == 4) ok(test_single_step_exc_address == (char *)code_mem + 1, "got %p, expected %p.\n", test_single_step_exc_address, (char *)code_mem + 1); else -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7841
participants (1)
-
Bernhard Übelacker