]> 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 07:45:02 +0000 (11:45 +0400)
* tests/threadkey_test.c (main): Print a message if the test is
skipped.

tests/threadkey_test.c

index 49ee51ff91a021bde4c3487c98c326f65bcbdeb1..c110689097fb1f0ee851e64e5fbf7de5f938149d 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 */