summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2021-11-25 12:08:58 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2021-11-25 12:08:58 +0900
commit50e0f32b19356fd7c64c799192379ff2204cd8a3 (patch)
tree6728c3ec497c86355392f7f819a10f365f11d1f7 /tests
parent0fcfca8e9ffa25836f391df75f5b3bb1b7dc1a69 (diff)
downloadlibgpg-error-50e0f32b19356fd7c64c799192379ff2204cd8a3.tar.gz
build,tests: Run t-lock-single-posix only on platforms supported.
* configure.ac (HAVE_LOCK_OPTIMIZATION): New. * tests/Makefile.am: Use HAVE_LOCK_OPTIMIZATION for t-lock-single-posix. -- GnuPG-bug-id: 5699 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index a8327d6..9652982 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -32,8 +32,7 @@ gpg_error_lib = ../src/libgpg-error.la
TESTS = t-version t-strerror t-syserror t-lock t-printf t-poll t-b64 \
t-argparse t-logging t-stringutils t-malloc
-if HAVE_W32_SYSTEM
-else
+if HAVE_LOCK_OPTIMIZATION
TESTS += t-lock-single-posix
endif