From: Eric Blake Date: Tue, 19 Aug 2008 12:42:05 +0000 (-0600) Subject: test-lock, test-tls: mention why a test is skipped X-Git-Tag: v0.1~7129 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=81040496d5e98d7913ea385763c3e4b4e85d74f5;p=gnulib.git 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 --- diff --git a/ChangeLog b/ChangeLog index b0cf69ef2..0195a7fb1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2008-08-22 Eric Blake + 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. diff --git a/tests/test-lock.c b/tests/test-lock.c index 6d2278e04..5faa8d87f 100644 --- a/tests/test-lock.c +++ b/tests/test-lock.c @@ -678,9 +678,12 @@ main () /* No multithreading available. */ +#include + int main () { + fputs ("multithreading not enabled\n", stderr); return 77; } diff --git a/tests/test-tls.c b/tests/test-tls.c index 83c4ffb16..b9806bb07 100644 --- a/tests/test-tls.c +++ b/tests/test-tls.c @@ -314,9 +314,12 @@ main () /* No multithreading available. */ +#include + int main () { + fputs ("multithreading not enabled\n", stderr); return 77; }