mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
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:
parent
be8cee55f2
commit
0b9867ab87
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue