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.
This commit is contained in:
Thomas Haller 2016-10-15 15:22:01 +02:00
parent 5424e3a063
commit c94dac0b5d

View file

@ -91,6 +91,7 @@ if [ "$NMTST_LAUNCH_DBUS" == "yes" ]; then
fi
if [ "$NMTST_NO_VALGRIND" != "" ]; then
"${NMTST_DBUS_RUN_SESSION[@]}" \
"$TEST" "$@"
exit $?
fi