Add unit test for TCP/IP checksumming code.
[sliver-openvswitch.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-csum
7 noinst_PROGRAMS += tests/test-csum
8 tests_test_csum_SOURCES = tests/test-csum.c
9 tests_test_csum_LDADD = lib/libopenvswitch.a
10
11 TESTS += tests/test-flows.sh
12 noinst_PROGRAMS += tests/test-flows
13 tests_test_flows_SOURCES = tests/test-flows.c
14 tests_test_flows_LDADD = lib/libopenvswitch.a
15 dist_check_SCRIPTS = tests/test-flows.sh tests/flowgen.pl
16
17 TESTS += tests/test-hash
18 noinst_PROGRAMS += tests/test-hash
19 tests_test_hash_SOURCES = tests/test-hash.c
20 tests_test_hash_LDADD = lib/libopenvswitch.a
21
22 TESTS += tests/test-hmap
23 noinst_PROGRAMS += tests/test-hmap
24 tests_test_hmap_SOURCES = tests/test-hmap.c
25 tests_test_hmap_LDADD = lib/libopenvswitch.a
26
27 TESTS += tests/test-list
28 noinst_PROGRAMS += tests/test-list
29 tests_test_list_SOURCES = tests/test-list.c
30 tests_test_list_LDADD = lib/libopenvswitch.a
31
32 TESTS += tests/test-type-props
33 noinst_PROGRAMS += tests/test-type-props
34 tests_test_type_props_SOURCES = tests/test-type-props.c
35
36 noinst_PROGRAMS += tests/test-dhcp-client
37 tests_test_dhcp_client_SOURCES = tests/test-dhcp-client.c
38 tests_test_dhcp_client_LDADD = lib/libopenvswitch.a $(FAULT_LIBS)
39
40 TESTS += tests/test-stp.sh
41 EXTRA_DIST += tests/test-stp.sh
42 noinst_PROGRAMS += tests/test-stp
43
44 tests_test_stp_SOURCES = tests/test-stp.c
45 tests_test_stp_LDADD = lib/libopenvswitch.a
46 stp_files = \
47         tests/test-stp-ieee802.1d-1998 \
48         tests/test-stp-ieee802.1d-2004-fig17.4 \
49         tests/test-stp-ieee802.1d-2004-fig17.6 \
50         tests/test-stp-ieee802.1d-2004-fig17.7 \
51         tests/test-stp-iol-op-1.1 \
52         tests/test-stp-iol-op-1.4 \
53         tests/test-stp-iol-op-3.1 \
54         tests/test-stp-iol-op-3.3 \
55         tests/test-stp-iol-io-1.1 \
56         tests/test-stp-iol-io-1.2 \
57         tests/test-stp-iol-io-1.4 \
58         tests/test-stp-iol-io-1.5
59 TESTS_ENVIRONMENT += stp_files='$(stp_files)'
60
61 EXTRA_DIST += $(stp_files)