From 3efd85c935bbf4d925f3c918b52694288f98570e Mon Sep 17 00:00:00 2001 From: Daniel Salzman Date: Fri, 6 Dec 2024 16:01:18 +0100 Subject: tests: don't build tests for atomic and spinlock if disabled daemon As the tests depend on dthreads and liburcu. fixes #946 --- tests/Makefile.am | 4 ++-- 1 file 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 \ -- cgit v1.2.3