This website requires JavaScript.
Explore
Help
Sign in
fdo-mirrors
/
NetworkManager
Watch
1
Star
0
Fork
You've already forked NetworkManager
0
mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced
2025-12-23 01:30:09 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
a5b6436a90
NetworkManager
/
libnm-glib
/
tests
/
libnm-glib-test-launch.sh
8 lines
100 B
Bash
Raw
Normal View
History
Unescape
Escape
libnm-glib: use automake test infrastructure for test programs 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.
2014-07-30 17:32:35 -04:00
#!/bin/sh
tests: always spawn private d-bus Parallel test runs would not be possible without this.
2015-05-14 14:39:23 +02:00
# Spawn DBus
eval
`
dbus-launch --sh-syntax
`
trap
"
kill
$DBUS_SESSION_BUS_PID
"
EXIT
tests: Don't run session-long dbus daemons for tests They require a tty or X11 displays, thus are not suitable for headless runs (such as in mock). Furthermore, they die with the tty or X11 session, which is somehow late -- a lot of them may accumulate. Let's kill them right away.
2014-10-20 18:24:26 +02:00
"
$@
"
Reference in a new issue
Copy permalink