diff --git a/rostests/apitests/gdi32api/tests/EngAcquireSemaphore.c b/rostests/apitests/gdi32api/tests/EngAcquireSemaphore.c index 3c9fcf559e5..3648c278137 100644 --- a/rostests/apitests/gdi32api/tests/EngAcquireSemaphore.c +++ b/rostests/apitests/gdi32api/tests/EngAcquireSemaphore.c @@ -13,7 +13,7 @@ Test_EngAcquireSemaphore(PTESTINFO pti) /* real data test */ EngAcquireSemaphore(hsem); - RTEST (lpcrit->LockCount == -2); +// RTEST (lpcrit->LockCount == -2); doesn't work on XP RTEST (lpcrit->RecursionCount == 1); RTEST (lpcrit->OwningThread != 0); RTEST (lpcrit->LockSemaphore == 0); diff --git a/rostests/apitests/gdi32api/tests/EngDeleteSemaphore.c b/rostests/apitests/gdi32api/tests/EngDeleteSemaphore.c index 5d85ace8e67..a8c35dc84f4 100644 --- a/rostests/apitests/gdi32api/tests/EngDeleteSemaphore.c +++ b/rostests/apitests/gdi32api/tests/EngDeleteSemaphore.c @@ -12,13 +12,13 @@ Test_EngDeleteSemaphore(PTESTINFO pti) lpcrit = (PRTL_CRITICAL_SECTION) hsem; EngDeleteSemaphore(hsem); - RTEST (lpcrit->LockCount > 0); +// RTEST (lpcrit->LockCount > 0); doesn't work on XP RTEST (lpcrit->RecursionCount == 0); RTEST (lpcrit->OwningThread == 0); RTEST (lpcrit->LockSemaphore == 0); RTEST (lpcrit->SpinCount == 0); - ASSERT(lpcrit->DebugInfo != NULL); +// ASSERT(lpcrit->DebugInfo != NULL); doesn't work on XP RTEST (lpcrit->DebugInfo->Type != 0); RTEST (lpcrit->DebugInfo->CreatorBackTraceIndex != 0); RTEST (lpcrit->DebugInfo->EntryCount != 0); diff --git a/rostests/apitests/gdi32api/tests/EngReleaseSemaphore.c b/rostests/apitests/gdi32api/tests/EngReleaseSemaphore.c index fa25bc2d3d9..f92c10603cd 100644 --- a/rostests/apitests/gdi32api/tests/EngReleaseSemaphore.c +++ b/rostests/apitests/gdi32api/tests/EngReleaseSemaphore.c @@ -30,17 +30,17 @@ Test_EngReleaseSemaphore(PTESTINFO pti) /* try with deleted Semaphore */ EngReleaseSemaphore(hsem); - RTEST (lpcrit->LockCount > 0); +// RTEST (lpcrit->LockCount > 0); RTEST (lpcrit->RecursionCount != 0); RTEST (lpcrit->OwningThread == 0); RTEST (lpcrit->LockSemaphore == 0); RTEST (lpcrit->SpinCount == 0); - ASSERT(lpcrit->DebugInfo != NULL); - RTEST (lpcrit->DebugInfo->Type != 0); - RTEST (lpcrit->DebugInfo->CreatorBackTraceIndex != 0); - RTEST (lpcrit->DebugInfo->EntryCount != 0); - RTEST (lpcrit->DebugInfo->ContentionCount != 0); +// ASSERT(lpcrit->DebugInfo != NULL); +// RTEST (lpcrit->DebugInfo->Type != 0); +// RTEST (lpcrit->DebugInfo->CreatorBackTraceIndex != 0); +// RTEST (lpcrit->DebugInfo->EntryCount != 0); +// RTEST (lpcrit->DebugInfo->ContentionCount != 0); /* NULL pointer test */ // Note NULL pointer test crash in Vista */