changeset 10353:a34661f8b5c8

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. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Tue, 19 Aug 2008 06:42:05 -0600
parents aed58a771e64
children 259e0fdc6c66
files ChangeLog tests/test-lock.c tests/test-tls.c
diffstat 3 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/tests/test-lock.c
+++ b/tests/test-lock.c
@@ -678,9 +678,12 @@
 
 /* No multithreading available.  */
 
+#include <stdio.h>
+
 int
 main ()
 {
+  fputs ("multithreading not enabled\n", stderr);
   return 77;
 }
 
--- a/tests/test-tls.c
+++ b/tests/test-tls.c
@@ -314,9 +314,12 @@
 
 /* No multithreading available.  */
 
+#include <stdio.h>
+
 int
 main ()
 {
+  fputs ("multithreading not enabled\n", stderr);
   return 77;
 }