ntdll/tests: The fpu exception offset is broken on 32-bit Windows 8 too.

Huw Davies huw at codeweavers.com
Fri Nov 25 04:12:15 CST 2016


Signed-off-by: Huw Davies <huw at codeweavers.com>
---
Expect the usual failures on wvistau64 and w7u, and a crash on w1064.
However, w8 should now pass.

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 0040fdb..3abec1b 100644
--- a/dlls/ntdll/tests/exception.c
+++ b/dlls/ntdll/tests/exception.c
@@ -1259,7 +1259,7 @@ static void test_fpu_exceptions(void)
     ok(info.exception_code == EXCEPTION_FLT_STACK_CHECK,
             "Got exception code %#x, expected EXCEPTION_FLT_STACK_CHECK\n", info.exception_code);
     ok(info.exception_offset == 0x19 ||
-       broken( is_wow64 && info.exception_offset == info.eip_offset ),
+       broken( info.exception_offset == info.eip_offset ),
        "Got exception offset %#x, expected 0x19\n", info.exception_offset);
     ok(info.eip_offset == 0x1b, "Got EIP offset %#x, expected 0x1b\n", info.eip_offset);
 
@@ -1268,7 +1268,7 @@ static void test_fpu_exceptions(void)
     ok(info.exception_code == EXCEPTION_FLT_DIVIDE_BY_ZERO,
             "Got exception code %#x, expected EXCEPTION_FLT_DIVIDE_BY_ZERO\n", info.exception_code);
     ok(info.exception_offset == 0x17 ||
-       broken( is_wow64 && info.exception_offset == info.eip_offset ),
+       broken( info.exception_offset == info.eip_offset ),
        "Got exception offset %#x, expected 0x17\n", info.exception_offset);
     ok(info.eip_offset == 0x19, "Got EIP offset %#x, expected 0x19\n", info.eip_offset);
 }
-- 
2.7.4




More information about the wine-patches mailing list