svn commit: trunk/uClibc/test

vapier at uclibc.org vapier at uclibc.org
Sun Jan 8 08:17:06 UTC 2006


Author: vapier
Date: 2006-01-08 00:17:04 -0800 (Sun, 08 Jan 2006)
New Revision: 13148

Log:
dont include atexit() if uClibc doesnt support it

Modified:
   trunk/uClibc/test/testsuite.h


Changeset:
Modified: trunk/uClibc/test/testsuite.h
===================================================================
--- trunk/uClibc/test/testsuite.h	2006-01-08 07:15:40 UTC (rev 13147)
+++ trunk/uClibc/test/testsuite.h	2006-01-08 08:17:04 UTC (rev 13148)
@@ -70,7 +70,9 @@
 	printf("%s", testname);
 	test_number = 0;
 	failures = 0;
+#if !defined(__UCLIBC__) || defined(__UCLIBC_DYNAMIC_ATEXIT__)
 	atexit(done_testing);
+#endif
 }
 
 #endif /* __NO_TESTCODE__ */




More information about the uClibc-cvs mailing list