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

Alexandre Julliard julliard at winehq.org
Fri Nov 25 14:19:18 CST 2016


Module: wine
Branch: master
Commit: 8d8507808e2c8b16eb87e5988a883612f4a359be
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8d8507808e2c8b16eb87e5988a883612f4a359be

Author: Huw Davies <huw at codeweavers.com>
Date:   Fri Nov 25 10:12:15 2016 +0000

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

Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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);
 }




More information about the wine-cvs mailing list