diff options
Diffstat (limited to 'tests/AutoreleasePool.m')
| -rw-r--r-- | tests/AutoreleasePool.m | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/AutoreleasePool.m b/tests/AutoreleasePool.m index f0b3599..fe258f5 100644 --- a/tests/AutoreleasePool.m +++ b/tests/AutoreleasePool.m @@ -7,8 +7,14 @@ int main(void) { @autoreleasepool { PXObject *object = [PXObject new]; printf("created object in autorelease pool\n"); +#ifdef PARADOX_DEBUG_FEATURES printf("attempting healthCheck\n"); [object healthCheck]; +#else + printf("Paradox compiled without debug features, skipping healthCheck\n"); + /* suppress unused variable warning */ + (void)object; +#endif } printf("autorelease pool end\n"); printf("test complete\n"); |
