aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--agent/Makefile.am4
-rw-r--r--agent/all-tests.scm2
2 files changed, 4 insertions, 2 deletions
diff --git a/agent/Makefile.am b/agent/Makefile.am
index d5998c71c..fe2d7d222 100644
--- a/agent/Makefile.am
+++ b/agent/Makefile.am
@@ -111,10 +111,12 @@ $(PROGRAMS): $(common_libs) $(commonpth_libs) $(pwquery_libs)
#
# Module tests
#
+module_tests = t-protect
+
if DISABLE_TESTS
TESTS =
else
-TESTS = t-protect
+TESTS = $(module_tests)
endif
t_common_ldadd = $(common_libs) $(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) \
diff --git a/agent/all-tests.scm b/agent/all-tests.scm
index 6449ebb97..9376adf6e 100644
--- a/agent/all-tests.scm
+++ b/agent/all-tests.scm
@@ -32,4 +32,4 @@
(path-join (getenv "objdir") "agent" name)))
(parse-makefile-expand (in-srcdir "agent" "Makefile.am")
(lambda (filename port key) (parse-makefile port key))
- "TESTS")))
+ "module_tests")))