summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-10-15 15:22:01 +0200
committerThomas Haller <thaller@redhat.com>2016-10-19 15:26:30 +0200
commitc94dac0b5d9d77ef7d60d18eb835a0dd7bba4f42 (patch)
tree57bdf8712636623df9119f6874f22fd7c9ac79fd /tools
parent5424e3a063fb76d6bf221fdc26fe3f140f4e0361 (diff)
downloadNetworkManager-c94dac0b5d9d77ef7d60d18eb835a0dd7bba4f42.tar.gz
tools: fix starting tests with D-Bus session with NMTST_NO_VALGRIND=1
When running NMTST_NO_VALGRIND=1 make check -j we would not start separate D-Bus sessions, thus running tests with valgrind enabled failed.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run-test-valgrind.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/run-test-valgrind.sh b/tools/run-test-valgrind.sh
index d3dd915bf0..634ca2c4e6 100755
--- a/tools/run-test-valgrind.sh
+++ b/tools/run-test-valgrind.sh
@@ -91,6 +91,7 @@ if [ "$NMTST_LAUNCH_DBUS" == "yes" ]; then
fi
if [ "$NMTST_NO_VALGRIND" != "" ]; then
+ "${NMTST_DBUS_RUN_SESSION[@]}" \
"$TEST" "$@"
exit $?
fi