mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 17:30:09 +01:00
Port libnm-core/libnm to GDBus. The NetworkManager daemon continues to use dbus-glib; the previously-added connection hash/variant conversion methods are now moved to NetworkManagerUtils (along with a few other utilities that are now only needed by the daemon code).
41 lines
846 B
Makefile
41 lines
846 B
Makefile
if ENABLE_TESTS
|
|
|
|
AM_CPPFLAGS = \
|
|
-I$(top_srcdir)/include \
|
|
-I$(top_srcdir)/libnm \
|
|
-I$(top_builddir)/libnm \
|
|
-I$(top_srcdir)/libnm-core \
|
|
-I$(top_builddir)/libnm-core \
|
|
-DNETWORKMANAGER_COMPILATION \
|
|
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
|
-DTEST_NM_SERVICE=\"$(abs_top_srcdir)/tools/test-networkmanager-service.py\" \
|
|
$(GLIB_CFLAGS)
|
|
|
|
LDADD = \
|
|
$(top_builddir)/libnm/libnm.la \
|
|
$(GLIB_LIBS)
|
|
|
|
noinst_PROGRAMS = $(TESTS)
|
|
|
|
TESTS = test-nm-client test-remote-settings-client test-secret-agent
|
|
|
|
test_nm_client_SOURCES = \
|
|
common.c \
|
|
common.h \
|
|
test-nm-client.c
|
|
|
|
test_remote_settings_client_SOURCES = \
|
|
common.c \
|
|
common.h \
|
|
test-remote-settings-client.c
|
|
|
|
test_secret_agent_SOURCES = \
|
|
common.c \
|
|
common.h \
|
|
test-secret-agent.c
|
|
|
|
TESTS_ENVIRONMENT = $(srcdir)/libnm-test-launch.sh
|
|
|
|
endif
|
|
|
|
EXTRA_DIST = libnm-test-launch.sh
|