mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 17:10:22 +00:00
comment out some tests that fail on win XP, until someone fixes them
svn path=/trunk/; revision=33992
This commit is contained in:
parent
999e377e55
commit
e49f53ea51
3 changed files with 9 additions and 9 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue