summaryrefslogtreecommitdiff
path: root/src/settings/plugins/ifupdown/tests/Makefile.am
blob: 14a58f87e5cf285bbec27c6345913fc6c8e0ca06 (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
if ENABLE_TESTS

AM_CPPFLAGS = \
	-I$(top_srcdir)/include \
	-I$(top_srcdir)/libnm-core \
	-I$(top_builddir)/libnm-core \
	-I$(top_srcdir)/src \
	-I$(top_srcdir)/src/settings \
	-I$(srcdir)/../ \
	-DG_LOG_DOMAIN=\""NetworkManager-ifupdown"\" \
	-DNETWORKMANAGER_COMPILATION \
	-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
	$(GLIB_CFLAGS) \
	-DTEST_ENI_DIR=\"$(abs_srcdir)\"

noinst_PROGRAMS = test-ifupdown

test_ifupdown_SOURCES = \
	test-ifupdown.c \
	../interface_parser.c \
	../parser.c

test_ifupdown_LDADD = \
	$(top_builddir)/src/libNetworkManager.la

TESTS = test-ifupdown

EXTRA_DIST = \
	test1 test2 test3 test4 test5 test6 test7 test8 test9 test11 test12 \
	test13 test14 test15 test16 test17-wired-static-verify-ip4 \
	test18-wired-static-verify-ip6 test19-wired-static-verify-ip4-plen \
	test20-source-stanza test20-source-stanza.eth0 test20-source-stanza.eth1

endif