Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b7323b4b
Commit
b7323b4b
authored
Aug 19, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Don't mark Wow64 floating point behavior as broken.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6616da70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
exception.c
dlls/ntdll/tests/exception.c
+3
-5
No files found.
dlls/ntdll/tests/exception.c
View file @
b7323b4b
...
@@ -1476,8 +1476,7 @@ static void test_fpu_exceptions(void)
...
@@ -1476,8 +1476,7 @@ static void test_fpu_exceptions(void)
run_exception_test
(
fpu_exception_handler
,
&
info
,
fpu_exception_test_ie
,
sizeof
(
fpu_exception_test_ie
),
0
);
run_exception_test
(
fpu_exception_handler
,
&
info
,
fpu_exception_test_ie
,
sizeof
(
fpu_exception_test_ie
),
0
);
ok
(
info
.
exception_code
==
EXCEPTION_FLT_STACK_CHECK
,
ok
(
info
.
exception_code
==
EXCEPTION_FLT_STACK_CHECK
,
"Got exception code %#x, expected EXCEPTION_FLT_STACK_CHECK
\n
"
,
info
.
exception_code
);
"Got exception code %#x, expected EXCEPTION_FLT_STACK_CHECK
\n
"
,
info
.
exception_code
);
ok
(
info
.
exception_offset
==
0x19
||
ok
(
info
.
exception_offset
==
0x19
||
info
.
exception_offset
==
info
.
eip_offset
,
broken
(
info
.
exception_offset
==
info
.
eip_offset
),
"Got exception offset %#x, expected 0x19
\n
"
,
info
.
exception_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
);
ok
(
info
.
eip_offset
==
0x1b
,
"Got EIP offset %#x, expected 0x1b
\n
"
,
info
.
eip_offset
);
...
@@ -1485,8 +1484,7 @@ static void test_fpu_exceptions(void)
...
@@ -1485,8 +1484,7 @@ static void test_fpu_exceptions(void)
run_exception_test
(
fpu_exception_handler
,
&
info
,
fpu_exception_test_de
,
sizeof
(
fpu_exception_test_de
),
0
);
run_exception_test
(
fpu_exception_handler
,
&
info
,
fpu_exception_test_de
,
sizeof
(
fpu_exception_test_de
),
0
);
ok
(
info
.
exception_code
==
EXCEPTION_FLT_DIVIDE_BY_ZERO
,
ok
(
info
.
exception_code
==
EXCEPTION_FLT_DIVIDE_BY_ZERO
,
"Got exception code %#x, expected EXCEPTION_FLT_DIVIDE_BY_ZERO
\n
"
,
info
.
exception_code
);
"Got exception code %#x, expected EXCEPTION_FLT_DIVIDE_BY_ZERO
\n
"
,
info
.
exception_code
);
ok
(
info
.
exception_offset
==
0x17
||
ok
(
info
.
exception_offset
==
0x17
||
info
.
exception_offset
==
info
.
eip_offset
,
broken
(
info
.
exception_offset
==
info
.
eip_offset
),
"Got exception offset %#x, expected 0x17
\n
"
,
info
.
exception_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
);
ok
(
info
.
eip_offset
==
0x19
,
"Got EIP offset %#x, expected 0x19
\n
"
,
info
.
eip_offset
);
}
}
...
@@ -3379,7 +3377,7 @@ static void test_exceptions(void)
...
@@ -3379,7 +3377,7 @@ static void test_exceptions(void)
__asm__
volatile
(
"movw %%ss,%0"
:
"=g"
(
ss
)
);
__asm__
volatile
(
"movw %%ss,%0"
:
"=g"
(
ss
)
);
res
=
pNtGetContextThread
(
GetCurrentThread
(),
&
ctx
);
res
=
pNtGetContextThread
(
GetCurrentThread
(),
&
ctx
);
ok
(
res
==
STATUS_SUCCESS
,
"NtGetContextThread failed with %x
\n
"
,
res
);
ok
(
res
==
STATUS_SUCCESS
,
"NtGetContextThread failed with %x
\n
"
,
res
);
ok
(
ctx
.
SegDs
==
ds
,
"wrong ds %0
8x / %08
x
\n
"
,
ctx
.
SegDs
,
ds
);
ok
(
ctx
.
SegDs
==
ds
,
"wrong ds %0
4x / %04
x
\n
"
,
ctx
.
SegDs
,
ds
);
ok
(
ctx
.
SegEs
==
es
,
"wrong es %04x / %04x
\n
"
,
ctx
.
SegEs
,
es
);
ok
(
ctx
.
SegEs
==
es
,
"wrong es %04x / %04x
\n
"
,
ctx
.
SegEs
,
es
);
ok
(
ctx
.
SegFs
==
fs
,
"wrong fs %04x / %04x
\n
"
,
ctx
.
SegFs
,
fs
);
ok
(
ctx
.
SegFs
==
fs
,
"wrong fs %04x / %04x
\n
"
,
ctx
.
SegFs
,
fs
);
ok
(
ctx
.
SegGs
==
gs
,
"wrong gs %04x / %04x
\n
"
,
ctx
.
SegGs
,
gs
);
ok
(
ctx
.
SegGs
==
gs
,
"wrong gs %04x / %04x
\n
"
,
ctx
.
SegGs
,
gs
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment