summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-09-20 09:45:02 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-09-20 10:16:58 +0200
commitdb9e8f09fa1e4f54e761355130d8191a31530c9f (patch)
tree78af630ea219ce4aaf80ac220298793fe9a2a2f2 /tests
parent53cb637a4aa166af341214f903ce5f0e94901379 (diff)
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/threadkey_test.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/threadkey_test.c b/tests/threadkey_test.c
index d080a7b..c41f282 100644
--- a/tests/threadkey_test.c
+++ b/tests/threadkey_test.c
@@ -17,8 +17,11 @@
#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 */