Import from old repository commit 61ef2b42a9c4ba8e1600f15bb0236765edc2ad45.
[cascardo/ovs.git] / tests / automake.mk
1 TESTS += tests/test-classifier
2 noinst_PROGRAMS += tests/test-classifier
3 tests_test_classifier_SOURCES = tests/test-classifier.c
4 tests_test_classifier_LDADD = lib/libopenvswitch.a
5
6 TESTS += tests/test-flows.sh
7 noinst_PROGRAMS += tests/test-flows
8 tests_test_flows_SOURCES = tests/test-flows.c
9 tests_test_flows_LDADD = lib/libopenvswitch.a
10 dist_check_SCRIPTS = tests/test-flows.sh tests/flowgen.pl
11
12 TESTS += tests/test-hash
13 noinst_PROGRAMS += tests/test-hash
14 tests_test_hash_SOURCES = tests/test-hash.c
15 tests_test_hash_LDADD = lib/libopenvswitch.a
16
17 TESTS += tests/test-hmap
18 noinst_PROGRAMS += tests/test-hmap
19 tests_test_hmap_SOURCES = tests/test-hmap.c
20 tests_test_hmap_LDADD = lib/libopenvswitch.a
21
22 TESTS += tests/test-list
23 noinst_PROGRAMS += tests/test-list
24 tests_test_list_SOURCES = tests/test-list.c
25 tests_test_list_LDADD = lib/libopenvswitch.a
26
27 TESTS += tests/test-type-props
28 noinst_PROGRAMS += tests/test-type-props
29 tests_test_type_props_SOURCES = tests/test-type-props.c
30
31 noinst_PROGRAMS += tests/test-dhcp-client
32 tests_test_dhcp_client_SOURCES = tests/test-dhcp-client.c
33 tests_test_dhcp_client_LDADD = lib/libopenvswitch.a $(FAULT_LIBS)
34
35 TESTS += tests/test-stp.sh
36 EXTRA_DIST += tests/test-stp.sh
37 noinst_PROGRAMS += tests/test-stp
38
39 tests_test_stp_SOURCES = tests/test-stp.c
40 tests_test_stp_LDADD = lib/libopenvswitch.a
41 stp_files = \
42         tests/test-stp-ieee802.1d-1998 \
43         tests/test-stp-ieee802.1d-2004-fig17.4 \
44         tests/test-stp-ieee802.1d-2004-fig17.6 \
45         tests/test-stp-ieee802.1d-2004-fig17.7 \
46         tests/test-stp-iol-op-1.1 \
47         tests/test-stp-iol-op-1.4 \
48         tests/test-stp-iol-op-3.1 \
49         tests/test-stp-iol-op-3.3 \
50         tests/test-stp-iol-io-1.1 \
51         tests/test-stp-iol-io-1.2 \
52         tests/test-stp-iol-io-1.4 \
53         tests/test-stp-iol-io-1.5
54 TESTS_ENVIRONMENT += stp_files='$(stp_files)'
55
56 EXTRA_DIST += $(stp_files)