summaryrefslogtreecommitdiff
path: root/tests/automake.mk
blob: 0508144f0443b43df6b6081f797caeee99a32c7d (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
46
47
48
49
50
51
52
53
54
55
56
TESTS += tests/test-classifier
noinst_PROGRAMS += tests/test-classifier
tests_test_classifier_SOURCES = tests/test-classifier.c
tests_test_classifier_LDADD = lib/libopenvswitch.a

TESTS += tests/test-flows.sh
noinst_PROGRAMS += tests/test-flows
tests_test_flows_SOURCES = tests/test-flows.c
tests_test_flows_LDADD = lib/libopenvswitch.a
dist_check_SCRIPTS = tests/test-flows.sh tests/flowgen.pl

TESTS += tests/test-hash
noinst_PROGRAMS += tests/test-hash
tests_test_hash_SOURCES = tests/test-hash.c
tests_test_hash_LDADD = lib/libopenvswitch.a

TESTS += tests/test-hmap
noinst_PROGRAMS += tests/test-hmap
tests_test_hmap_SOURCES = tests/test-hmap.c
tests_test_hmap_LDADD = lib/libopenvswitch.a

TESTS += tests/test-list
noinst_PROGRAMS += tests/test-list
tests_test_list_SOURCES = tests/test-list.c
tests_test_list_LDADD = lib/libopenvswitch.a

TESTS += tests/test-type-props
noinst_PROGRAMS += tests/test-type-props
tests_test_type_props_SOURCES = tests/test-type-props.c

noinst_PROGRAMS += tests/test-dhcp-client
tests_test_dhcp_client_SOURCES = tests/test-dhcp-client.c
tests_test_dhcp_client_LDADD = lib/libopenvswitch.a $(FAULT_LIBS)

TESTS += tests/test-stp.sh
EXTRA_DIST += tests/test-stp.sh
noinst_PROGRAMS += tests/test-stp

tests_test_stp_SOURCES = tests/test-stp.c
tests_test_stp_LDADD = lib/libopenvswitch.a
stp_files = \
	tests/test-stp-ieee802.1d-1998 \
	tests/test-stp-ieee802.1d-2004-fig17.4 \
	tests/test-stp-ieee802.1d-2004-fig17.6 \
	tests/test-stp-ieee802.1d-2004-fig17.7 \
	tests/test-stp-iol-op-1.1 \
	tests/test-stp-iol-op-1.4 \
	tests/test-stp-iol-op-3.1 \
	tests/test-stp-iol-op-3.3 \
	tests/test-stp-iol-io-1.1 \
	tests/test-stp-iol-io-1.2 \
	tests/test-stp-iol-io-1.4 \
	tests/test-stp-iol-io-1.5
TESTS_ENVIRONMENT += stp_files='$(stp_files)'

EXTRA_DIST += $(stp_files)