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_3alpha2~342 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76362c5176afd073ce7b1a82c3031536f9c99a8c;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 49ee51ff..c1106890 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 */