cleanup to avoid tests which won't work on most systems

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32687 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2011-03-22 19:59:36 +00:00
parent 224616a0f2
commit 7d51172308
5 changed files with 16 additions and 1 deletions

View file

@ -66,10 +66,13 @@ class A1
@implementation C @end
int main(void)
{
#if defined(TESTDEV)
// Make sure constructors / destructors are called even without -init
[[C alloc] release];
// Reset state
A_init = B_init = A_destroyed = B_destroyed = 0;
// Check init is called in the middle
[[C new] release];
#endif
return 0;
}