NetworkManager/shared
Thomas Haller 9628aabc2f tests: use libnm via pygobject in tools/test-networkmanager-service.py
tools/test-networkmanager-service.py is our NetworkManager stub server.

NetworkManager uses libnm(-core) heavily, for example to decide whether
a connection verifies (nm_connection_verify()) and for normalizing
connections (nm_connection_normalize()).

If the stub server wants to mimic NetworkManager, it also must use these
function. Luckily, we already can do so, by loading libnm using python
GObject introspection.

We already correctly set GI_TYPELIB_PATH search path, so that the
correct libnm is loaded -- provided that we build with introspection
enabled.

We still need to gracefully fail, if starting the stub server fails.
That requries some extra effort. If the stub server notices that
something is missing, it shall exit with status 77. That will cause
the tests to g_test_skip().
2018-05-11 16:51:20 +02:00
..
c-list Merge commit 'afe2594a7799d3113470c40664c6eda88b83c7e5' as 'shared/c-list' 2018-04-18 15:20:40 +02:00
c-siphash Merge commit '1ea09eb549dbd910ea593e01fb6f746ae20b4beb' as 'shared/c-siphash' 2018-04-18 15:20:01 +02:00
n-acd n-acd: don't use a return value in deallocator 2018-04-23 09:50:12 +02:00
nm-utils tests: minor code cleanup of nmtst_main_loop_run() 2018-05-11 16:51:20 +02:00
meson.build build: meson: link NM against n-acd 2018-04-18 15:22:18 +02:00
nm-common-macros.h manager: add connectivity-check-{available,enabled} properties. 2017-08-17 22:31:47 +02:00
nm-dbus-compat.h build: rename directory "include" to "shared" 2015-12-24 11:42:37 +01:00
nm-default.h shared: don't validate type-string in G_VARIANT_TYPE() cast macro in production code 2018-03-12 17:44:35 +01:00
nm-dispatcher-api.h build: cleanup src/Makefile.am 2016-08-11 11:54:18 +02:00
nm-meta-setting.c clients: add tc qdisc support 2017-12-11 10:52:23 +01:00
nm-meta-setting.h clients: add tc qdisc support 2017-12-11 10:52:23 +01:00
nm-test-libnm-utils.h tests: use libnm via pygobject in tools/test-networkmanager-service.py 2018-05-11 16:51:20 +02:00
nm-test-utils-impl.c tests: use libnm via pygobject in tools/test-networkmanager-service.py 2018-05-11 16:51:20 +02:00
nm-version-macros.h.in version: rename macro NM_VERSION_CUR_STABLE to NM_API_VERSION 2018-01-23 10:54:11 +01:00