secchan: Make sure fail-open doesn't drop the first messages from connection.
[sliver-openvswitch.git] / tests / Makefile.am
index 2548ea0..e3981bf 100644 (file)
@@ -1,17 +1,37 @@
 include ../Make.vars
 
 TESTS = test-list
-
-check_PROGRAMS = test-list
-
+noinst_PROGRAMS = test-list
 test_list_SOURCES = test-list.c
 test_list_LDADD = ../lib/libopenflow.a
 
 TESTS += test-type-props
-check_PROGRAMS += test-type-props
+noinst_PROGRAMS += test-type-props
 test_type_props_SOURCES = test-type-props.c
 
-noinst_PROGRAMS = test-dhcp-client
+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)