]> granicus.if.org Git - gc/commitdiff
tests: print a message in case a test is a no-op.
authorIvan Maidanski <ivmai@mail.ru>
Tue, 20 Sep 2011 07:45:02 +0000 (11:45 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 20 Sep 2011 08:16:58 +0000 (12:16 +0400)
* tests/threadkey_test.c (main): Print a message if the test is
skipped.

tests/threadkey_test.c

index d080a7ba015bef645245dfc276585aafc83c9892..c41f28222a686a8b99602c82bd42de7fd0563bce 100644 (file)
 
 #ifdef SKIP_THREADKEY_TEST
 
+#include <stdio.h>
+
 int main (void)
 {
+  printf("threadkey_test skipped\n");
   return 0;
 }
 
@@ -89,4 +92,4 @@ int main (void)
   return 0;
 }
 
-#endif
+#endif /* !SKIP_THREADKEY_TEST */