test-lock, test-tls: mention why a test is skipped
authorEric Blake <ebb9@byu.net>
Tue, 19 Aug 2008 12:42:05 +0000 (06:42 -0600)
committerEric Blake <ebb9@byu.net>
Sat, 23 Aug 2008 01:54:07 +0000 (19:54 -0600)
* tests/test-lock.c (main) [!USE_*_THREADS]: Print why test is
skipped.
* tests/test-tls.c (main) [!USE_*_THREADS]: Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
tests/test-lock.c
tests/test-tls.c

index b0cf69e..0195a7f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-08-22  Eric Blake  <ebb9@byu.net>
 
+       test-lock, test-tls: mention why a test is skipped
+       * tests/test-lock.c (main) [!USE_*_THREADS]: Print why test is
+       skipped.
+       * tests/test-tls.c (main) [!USE_*_THREADS]: Likewise.
+
        count-one-bits: relax license
        * modules/count-one-bits (License): Relicense to LGPLv2+.
        Suggested by Ludovic Courtès, approved by Ben Pfaff.
index 6d2278e..5faa8d8 100644 (file)
@@ -678,9 +678,12 @@ main ()
 
 /* No multithreading available.  */
 
+#include <stdio.h>
+
 int
 main ()
 {
+  fputs ("multithreading not enabled\n", stderr);
   return 77;
 }
 
index 83c4ffb..b9806bb 100644 (file)
@@ -314,9 +314,12 @@ main ()
 
 /* No multithreading available.  */
 
+#include <stdio.h>
+
 int
 main ()
 {
+  fputs ("multithreading not enabled\n", stderr);
   return 77;
 }