diff options
author | Thomas Haller <thaller@redhat.com> | 2015-02-08 11:52:22 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-02-09 12:10:13 +0100 |
commit | e7356ef0a6fa94b20850d6f8ca73bfac17589510 (patch) | |
tree | 48c31deb4388b2476ad3ab758412b584b7e79a16 /libnm-glib | |
parent | bf68917ca309e8d5c0528214913f0c95c34d3c7e (diff) | |
download | NetworkManager-e7356ef0a6fa94b20850d6f8ca73bfac17589510.tar.gz |
libnm/tests: enable valgrind for libnm tests
Diffstat (limited to 'libnm-glib')
-rw-r--r-- | libnm-glib/tests/Makefile.am | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libnm-glib/tests/Makefile.am b/libnm-glib/tests/Makefile.am index b053109b62..6ce91dd931 100644 --- a/libnm-glib/tests/Makefile.am +++ b/libnm-glib/tests/Makefile.am @@ -12,7 +12,11 @@ AM_CPPFLAGS = \ noinst_PROGRAMS = $(TESTS) -#@VALGRIND_RULES@ +if WITH_VALGRIND +@VALGRIND_RULES@ --launch-dbus +else +TESTS_ENVIRONMENT = $(srcdir)/libnm-test-launch.sh +endif TESTS = test-nm-client test-remote-settings-client ####### NMClient and non-settings tests ####### @@ -43,8 +47,6 @@ test_remote_settings_client_LDADD = \ ########################################### -TESTS_ENVIRONMENT = $(srcdir)/libnm-glib-test-launch.sh - endif EXTRA_DIST = libnm-glib-test-launch.sh |