Merge commit 'origin/citrix'
[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-sha1
33 noinst_PROGRAMS += tests/test-sha1
34 tests_test_sha1_SOURCES = tests/test-sha1.c
35 tests_test_sha1_LDADD = lib/libopenvswitch.a
36
37 TESTS += tests/test-type-props
38 noinst_PROGRAMS += tests/test-type-props
39 tests_test_type_props_SOURCES = tests/test-type-props.c
40
41 noinst_PROGRAMS += tests/test-dhcp-client
42 tests_test_dhcp_client_SOURCES = tests/test-dhcp-client.c
43 tests_test_dhcp_client_LDADD = lib/libopenvswitch.a $(FAULT_LIBS)
44
45 TESTS += tests/test-stp.sh
46 EXTRA_DIST += tests/test-stp.sh
47 noinst_PROGRAMS += tests/test-stp
48
49 tests_test_stp_SOURCES = tests/test-stp.c
50 tests_test_stp_LDADD = lib/libopenvswitch.a
51 stp_files = \
52         tests/test-stp-ieee802.1d-1998 \
53         tests/test-stp-ieee802.1d-2004-fig17.4 \
54         tests/test-stp-ieee802.1d-2004-fig17.6 \
55         tests/test-stp-ieee802.1d-2004-fig17.7 \
56         tests/test-stp-iol-op-1.1 \
57         tests/test-stp-iol-op-1.4 \
58         tests/test-stp-iol-op-3.1 \
59         tests/test-stp-iol-op-3.3 \
60         tests/test-stp-iol-io-1.1 \
61         tests/test-stp-iol-io-1.2 \
62         tests/test-stp-iol-io-1.4 \
63         tests/test-stp-iol-io-1.5
64 TESTS_ENVIRONMENT += stp_files='$(stp_files)'
65
66 EXTRA_DIST += $(stp_files)
67
68 TESTS += tests/test-vconn
69 noinst_PROGRAMS += tests/test-vconn
70 tests_test_vconn_SOURCES = tests/test-vconn.c
71 tests_test_vconn_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
72