mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 17:00:08 +01:00
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.
(cherry picked from commit c94dac0b5d)
This commit is contained in:
parent
a67eb9d8d0
commit
7927d451fc
1 changed files with 1 additions and 0 deletions
|
|
@ -91,6 +91,7 @@ if [ "$NMTST_LAUNCH_DBUS" == "yes" ]; then
|
|||
fi
|
||||
|
||||
if [ "$NMTST_NO_VALGRIND" != "" ]; then
|
||||
"${NMTST_DBUS_RUN_SESSION[@]}" \
|
||||
"$TEST" "$@"
|
||||
exit $?
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue