summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Salzman <daniel.salzman@nic.cz>2024-12-06 16:01:18 +0100
committerDaniel Salzman <daniel.salzman@nic.cz>2024-12-07 16:45:37 +0100
commit3efd85c935bbf4d925f3c918b52694288f98570e (patch)
tree41088bace2762affa0cb35f5bbf44d0907049fa4
parentMerge branch 'doc_autokeymgmt_prereq' into 'master' (diff)
downloadknot-3efd85c935bbf4d925f3c918b52694288f98570e.tar.xz
knot-3efd85c935bbf4d925f3c918b52694288f98570e.zip
tests: don't build tests for atomic and spinlock if disabled daemon
As the tests depend on dthreads and liburcu. fixes #946
-rw-r--r--tests/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index bbcf8b8d5..ac88c4672 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -48,7 +48,6 @@ libtap_la_SOURCES = \
EXTRA_PROGRAMS = tap/runtests
check_PROGRAMS = \
- contrib/test_atomic \
contrib/test_base32hex \
contrib/test_base64 \
contrib/test_base64url \
@@ -60,7 +59,6 @@ check_PROGRAMS = \
contrib/test_qp-cow \
contrib/test_siphash \
contrib/test_sockaddr \
- contrib/test_spinlock \
contrib/test_string \
contrib/test_strtonum \
contrib/test_time \
@@ -88,6 +86,8 @@ check_PROGRAMS += \
if HAVE_DAEMON
check_PROGRAMS += \
+ contrib/test_atomic \
+ contrib/test_spinlock \
knot/test_acl \
knot/test_changeset \
knot/test_conf \