# HG changeset patch # User Eric Blake # Date 1219149725 21600 # Node ID a34661f8b5c82642bb7960e667835157128492a0 # Parent aed58a771e64677129ce4694bfa3c14219ba1f42 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 --- 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 --- a/tests/test-lock.c +++ b/tests/test-lock.c @@ -678,9 +678,12 @@ /* 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 --- a/tests/test-tls.c +++ b/tests/test-tls.c @@ -314,9 +314,12 @@ /* No multithreading available. */ +#include + int main () { + fputs ("multithreading not enabled\n", stderr); return 77; }