diff options
-rw-r--r-- | test/testsuite.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testsuite.h b/test/testsuite.h index 3465d328e..312b7cd47 100644 --- a/test/testsuite.h +++ b/test/testsuite.h @@ -70,7 +70,9 @@ void init_testsuite(const char* testname) printf("%s", testname); test_number = 0; failures = 0; +#if !defined(__UCLIBC__) || defined(__UCLIBC_DYNAMIC_ATEXIT__) atexit(done_testing); +#endif } #endif /* __NO_TESTCODE__ */ |