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-22 17:20:09 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
a5b6436a90
NetworkManager
/
libnm
/
tests
/
libnm-test-launch.sh
8 lines
100 B
Bash
Raw
Normal View
History
Unescape
Escape
libnm: add libnm/libnm-core (part 2) This fixes up the code from the previous "clean" import, and adds build infrastructure. [There are two slightly orthogonal sets of changes in this patch. First, the files added in the previous commit were modified as followed: # Replace internal references to "libnm-util" and "libnm-glib" with "libnm" perl -pi -e 's/libnm-(util|glib)/libnm/;' libnm-core/*.[ch] libnm-core/tests/*.[ch] libnm/*.[ch] libnm/tests/*.[ch] # Fix includes of the enum-types files perl -pi -e 's/nm-utils-enum-types/nm-core-enum-types/;' libnm-core/*.[ch] libnm-core/tests/*.[ch] libnm/*.[ch] libnm/tests/*.[ch] perl -pi -e 's/nm-glib-enum-types/nm-enum-types/;' libnm/*.[ch] libnm/tests/*.[ch] # Fix some python example code perl -pi -e 's/import NMClient/import NM/;' -e 's/NMClient.Client\(\)/NM.Client()/;' libnm/nm-client.c Then, the build infrastructure was added (without further modifying any existing files in libnm-core or libnm.) Note: to regenerate libnm.ver after rebase: (head -2 libnm-util/libnm-util.ver; (grep -h '\s'nm_ libnm-util/libnm-util.ver libnm-glib/libnm-glib.ver | env LANG=C sort); tail -3 libnm-util/libnm-util.ver) > libnm/libnm.ver ]
2014-07-04 13:26:57 -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