From: Ivan Maidanski Date: Tue, 20 Sep 2011 07:45:02 +0000 (+0400) Subject: tests: print a message in case a test is a no-op. X-Git-Tag: gc7_2~125 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db9e8f09fa1e4f54e761355130d8191a31530c9f;p=gc tests: print a message in case a test is a no-op. * tests/threadkey_test.c (main): Print a message if the test is skipped. --- diff --git a/tests/threadkey_test.c b/tests/threadkey_test.c index d080a7ba..c41f2822 100644 --- a/tests/threadkey_test.c +++ b/tests/threadkey_test.c @@ -17,8 +17,11 @@ #ifdef SKIP_THREADKEY_TEST +#include + int main (void) { + printf("threadkey_test skipped\n"); return 0; } @@ -89,4 +92,4 @@ int main (void) return 0; } -#endif +#endif /* !SKIP_THREADKEY_TEST */