mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 21:13:02 +00:00
[KMTESTS:NTOS_IO] Fix check of spinlocks in case of checked builds
Down back to zero failures
This commit is contained in:
parent
59e1b7848b
commit
2289deb849
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@
|
||||||
{ \
|
{ \
|
||||||
if (KmtIsMultiProcessorBuild) \
|
if (KmtIsMultiProcessorBuild) \
|
||||||
ok_eq_ulongptr(*(Lock), (Locked) != 0); \
|
ok_eq_ulongptr(*(Lock), (Locked) != 0); \
|
||||||
|
else if (KmtIsCheckedBuild) \
|
||||||
|
ok_eq_bool(*(Lock) != 0, (Locked) != 0); \
|
||||||
else \
|
else \
|
||||||
ok_eq_ulongptr(*(Lock), 0); \
|
ok_eq_ulongptr(*(Lock), 0); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue