comment out some tests that fail on win XP, until someone fixes them

svn path=/trunk/; revision=33992
This commit is contained in:
Timo Kreuzer 2008-06-16 13:20:06 +00:00
parent 999e377e55
commit e49f53ea51
3 changed files with 9 additions and 9 deletions

View file

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

View file

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

View file

@ -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 */