From 81040496d5e98d7913ea385763c3e4b4e85d74f5 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Tue, 19 Aug 2008 06:42:05 -0600 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ tests/test-lock.c | 3 +++ tests/test-tls.c | 3 +++ 3 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index b0cf69ef29..0195a7fb15 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 6d2278e04b..5faa8d87f0 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 83c4ffb165..b9806bb079 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; } -- 2.30.2