Implement 802.1D Spanning Tree Protocol.
[openvswitch] / tests / Makefile.am
index 91e11a5bcc5b97644b98a93157ab979052e5c323..e3981bfd00ac5ed7b98640d3517c0b6369bfd012 100644 (file)
@@ -1,8 +1,37 @@
 include ../Make.vars
 
 TESTS = test-list
+noinst_PROGRAMS = test-list
+test_list_SOURCES = test-list.c
+test_list_LDADD = ../lib/libopenflow.a
 
-check_PROGRAMS = test-list
+TESTS += test-type-props
+noinst_PROGRAMS += test-type-props
+test_type_props_SOURCES = test-type-props.c
 
-test_list_SOURCES = test-list.c
-test_list_LDADD = ../lib/libopenflow.la
+noinst_PROGRAMS += test-dhcp-client
+test_dhcp_client_SOURCES = test-dhcp-client.c
+test_dhcp_client_LDADD = ../lib/libopenflow.a $(FAULT_LIBS)
+
+TESTS += test-stp.sh
+EXTRA_DIST = test-stp.sh
+noinst_PROGRAMS += test-stp
+
+test_stp_SOURCES = test-stp.c
+test_stp_LDADD = ../lib/libopenflow.a
+stp_files = \
+       test-stp-ieee802.1d-1998 \
+       test-stp-ieee802.1d-2004-fig17.4 \
+       test-stp-ieee802.1d-2004-fig17.6 \
+       test-stp-ieee802.1d-2004-fig17.7 \
+       test-stp-iol-op-1.1 \
+       test-stp-iol-op-1.4 \
+       test-stp-iol-op-3.1 \
+       test-stp-iol-op-3.3 \
+       test-stp-iol-io-1.1 \
+       test-stp-iol-io-1.2 \
+       test-stp-iol-io-1.4 \
+       test-stp-iol-io-1.5
+TESTS_ENVIRONMENT = stp_files='$(stp_files)'
+
+EXTRA_DIST += $(stp_files)