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:
@@ -91,6 +91,7 @@ if [ "$NMTST_LAUNCH_DBUS" == "yes" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$NMTST_NO_VALGRIND" != "" ]; then
|
if [ "$NMTST_NO_VALGRIND" != "" ]; then
|
||||||
|
"${NMTST_DBUS_RUN_SESSION[@]}" \
|
||||||
"$TEST" "$@"
|
"$TEST" "$@"
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user