summaryrefslogtreecommitdiff
path: root/src/dhcp-manager/tests/Makefile.am
blob: 9d6e7b97b4baf657278fc6fa9bb6270a4cba9ef8 (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
38
39
40
41
42
43
44
45
AM_CPPFLAGS = \
	-I$(top_srcdir)/include \
	-I${top_srcdir}/libnm-core \
	-I${top_builddir}/libnm-core \
	-I$(top_srcdir)/src/dhcp-manager \
	-I$(top_srcdir)/src \
	-I$(top_srcdir)/src/platform \
	-DG_LOG_DOMAIN=\""NetworkManager"\" \
	-DNETWORKMANAGER_COMPILATION \
	-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
	$(GLIB_CFLAGS) \
	-DTESTDIR="\"$(abs_srcdir)\""

noinst_PROGRAMS = \
	test-dhcp-dhclient \
	test-dhcp-options

####### dhclient leases test #######

test_dhcp_dhclient_SOURCES = \
	test-dhcp-dhclient.c

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

####### DHCP options test #######

test_dhcp_options_SOURCES = \
	test-dhcp-options.c

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

#################################

TESTS = test-dhcp-dhclient test-dhcp-options

EXTRA_DIST = \
	test-dhclient-duid.leases \
	test-dhclient-commented-duid.leases \
	leases/basic.leases \
	leases/malformed1.leases \
	leases/malformed2.leases \
	leases/malformed3.leases