
Use "TESTS = tests-nm-client test-remote-settings-client" rather than overriding "check-local". Add a script "libnm-test-launch.sh" that will handle redirecting the test via dbus-launch if needed.
8 lines
123 B
Bash
Executable File
8 lines
123 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
|
|
exec dbus-launch --exit-with-session "$@"
|
|
else
|
|
exec "$@"
|
|
fi
|