aboutsummaryrefslogtreecommitdiffstats
path: root/agent/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'agent/Makefile.am')
-rw-r--r--agent/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/agent/Makefile.am b/agent/Makefile.am
index ce29462b2..11d542770 100644
--- a/agent/Makefile.am
+++ b/agent/Makefile.am
@@ -100,7 +100,11 @@ $(PROGRAMS): $(common_libs) $(commonpth_libs) $(pwquery_libs)
#
# Module tests
#
+if DISABLE_TESTS
+TESTS =
+else
TESTS = t-protect
+endif
t_common_ldadd = $(common_libs) $(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) \
$(LIBINTL) $(LIBICONV) $(NETLIBS)