about summary refs log tree commit diff
path: root/libnm/tests/Makefile.am
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2015-05-05 17:49:11 +0200
committerMichael Biebl <biebl@debian.org>2015-05-05 17:49:11 +0200
commite847e3cc3e4eded45a358bf838e1edcf4c12fcb5 (patch)
tree9db16e390931b9b800a174c7117b9297b351283f /libnm/tests/Makefile.am
parent1cd35b49de89f65c386ae2ff98a8e08342c080b0 (diff)
parentf408e27bccfacf347605a8d98649975a68f38a17 (diff)
Merge tag 'upstream/1.0.2'
Upstream version 1.0.2
Diffstat (limited to 'libnm/tests/Makefile.am')
-rw-r--r--libnm/tests/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/libnm/tests/Makefile.am b/libnm/tests/Makefile.am
index 38449fad..56dd17d5 100644
--- a/libnm/tests/Makefile.am
+++ b/libnm/tests/Makefile.am
@@ -17,6 +17,11 @@ LDADD = \
 
 noinst_PROGRAMS = $(TESTS)
 
+if WITH_VALGRIND
+@VALGRIND_RULES@ --launch-dbus
+else
+TESTS_ENVIRONMENT = $(srcdir)/libnm-test-launch.sh
+endif
 TESTS = test-nm-client test-remote-settings-client test-secret-agent
 
 test_nm_client_SOURCES = \
@@ -33,9 +38,6 @@ test_secret_agent_SOURCES = \
 	common.c \
 	common.h \
 	test-secret-agent.c
-
-TESTS_ENVIRONMENT = $(srcdir)/libnm-test-launch.sh
-
 endif
 
 EXTRA_DIST = libnm-test-launch.sh