iUse SKIP correctly by providing a test set around it.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33785 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2011-08-25 09:07:41 +00:00
parent be8cee55f2
commit 0b9867ab87

View file

@ -108,6 +108,8 @@ int main(void)
{
[NSAutoreleasePool new];
START_SET("+initialize")
/* Make sure we have initalised all the classes necessary for the test
* framework to record a test ... by passing one.
*/
@ -119,7 +121,7 @@ int main(void)
signal(SIGALRM, alarmed);
alarm(5);
#else
SKIP("+initialize runs concurrently");
SKIP("+initialize runs concurrently. No SIGALRM present, this means we cannot stop the test on deadlock.");
#endif
l = [NSCondition new];
@ -135,5 +137,8 @@ int main(void)
{
[NSThread sleepForTimeInterval: 0.01];
}
END_SET("+initialize")
return 0;
}