summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-03-01 16:48:01 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-03-01 16:48:01 +0100
commit49ee416037b3c7d78b4257577d66657ba792bedd (patch)
tree5fba3c3ca9f53c149c82bc89ce0842f569fbe30d /tests
parentc7eeb5502fe030fd75229eec2c05427f3df374c6 (diff)
downloadgnutls-49ee416037b3c7d78b4257577d66657ba792bedd.tar.gz
valgrind only used in development environment
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 457926e84a..8c804d5c79 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -97,5 +97,8 @@ TESTS_ENVIRONMENT = \
PKCS12FILE_2=$(srcdir)/pkcs12-decode/pkcs12_2certs.p12 \
PKCS12PASSWORD_2="" \
EXEEXT=$(EXEEXT) \
- srcdir="$(srcdir)" \
- $(VALGRIND)
+ srcdir="$(srcdir)"
+
+if WANT_TEST_SUITE
+TESTS_ENVIRONMENT += $(VALGRIND)
+endif