Make ds_cstr() always null-terminate the string.
[sliver-openvswitch.git] / tests / automake.mk
1 TESTS += tests/test-list
2 noinst_PROGRAMS += tests/test-list
3 tests_test_list_SOURCES = tests/test-list.c
4 tests_test_list_LDADD = lib/libopenflow.a
5
6 TESTS += tests/test-type-props
7 noinst_PROGRAMS += tests/test-type-props
8 tests_test_type_props_SOURCES = tests/test-type-props.c
9
10 noinst_PROGRAMS += tests/test-dhcp-client
11 tests_test_dhcp_client_SOURCES = tests/test-dhcp-client.c
12 tests_test_dhcp_client_LDADD = lib/libopenflow.a $(FAULT_LIBS)
13
14 TESTS += tests/test-stp.sh
15 EXTRA_DIST += tests/test-stp.sh
16 noinst_PROGRAMS += tests/test-stp
17
18 tests_test_stp_SOURCES = tests/test-stp.c
19 tests_test_stp_LDADD = lib/libopenflow.a
20 stp_files = \
21         tests/test-stp-ieee802.1d-1998 \
22         tests/test-stp-ieee802.1d-2004-fig17.4 \
23         tests/test-stp-ieee802.1d-2004-fig17.6 \
24         tests/test-stp-ieee802.1d-2004-fig17.7 \
25         tests/test-stp-iol-op-1.1 \
26         tests/test-stp-iol-op-1.4 \
27         tests/test-stp-iol-op-3.1 \
28         tests/test-stp-iol-op-3.3 \
29         tests/test-stp-iol-io-1.1 \
30         tests/test-stp-iol-io-1.2 \
31         tests/test-stp-iol-io-1.4 \
32         tests/test-stp-iol-io-1.5
33 TESTS_ENVIRONMENT += stp_files='$(stp_files)'
34
35 EXTRA_DIST += $(stp_files)