summaryrefslogtreecommitdiff
path: root/libnm/tests/Makefile.am
blob: cda638a83f4fc4bbe7823b785a4ccff2fcc225a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 \
	-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
	-DTEST_NM_SERVICE=\"$(abs_top_srcdir)/tools/test-networkmanager-service.py\" \
	$(GLIB_CFLAGS) \
	$(DBUS_CFLAGS)

LDADD = \
	$(top_builddir)/libnm/libnm.la \
	$(GLIB_LIBS) \
	$(DBUS_LIBS)

noinst_PROGRAMS = $(TESTS)

TESTS = test-nm-client test-remote-settings-client

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

TESTS_ENVIRONMENT = $(srcdir)/libnm-test-launch.sh

endif

EXTRA_DIST = libnm-test-launch.sh