Author: tkreuzer Date: Mon Jun 16 08:20:06 2008 New Revision: 33992
URL: http://svn.reactos.org/svn/reactos?rev=33992&view=rev Log: comment out some tests that fail on win XP, until someone fixes them
Modified: trunk/rostests/apitests/gdi32api/tests/EngAcquireSemaphore.c trunk/rostests/apitests/gdi32api/tests/EngDeleteSemaphore.c trunk/rostests/apitests/gdi32api/tests/EngReleaseSemaphore.c
Modified: trunk/rostests/apitests/gdi32api/tests/EngAcquireSemaphore.c URL: http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/gdi32api/tests/En... ============================================================================== --- trunk/rostests/apitests/gdi32api/tests/EngAcquireSemaphore.c [iso-8859-1] (original) +++ trunk/rostests/apitests/gdi32api/tests/EngAcquireSemaphore.c [iso-8859-1] Mon Jun 16 08:20:06 2008 @@ -13,7 +13,7 @@
/* 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);
Modified: trunk/rostests/apitests/gdi32api/tests/EngDeleteSemaphore.c URL: http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/gdi32api/tests/En... ============================================================================== --- trunk/rostests/apitests/gdi32api/tests/EngDeleteSemaphore.c [iso-8859-1] (original) +++ trunk/rostests/apitests/gdi32api/tests/EngDeleteSemaphore.c [iso-8859-1] Mon Jun 16 08:20:06 2008 @@ -12,13 +12,13 @@ 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);
Modified: trunk/rostests/apitests/gdi32api/tests/EngReleaseSemaphore.c URL: http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/gdi32api/tests/En... ============================================================================== --- trunk/rostests/apitests/gdi32api/tests/EngReleaseSemaphore.c [iso-8859-1] (original) +++ trunk/rostests/apitests/gdi32api/tests/EngReleaseSemaphore.c [iso-8859-1] Mon Jun 16 08:20:06 2008 @@ -30,17 +30,17 @@
/* 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 */