6 $(srcdir)/tests/testsuite
21 tests/ovsdb-types.at \
23 tests/ovsdb-column.at \
24 tests/ovsdb-table.at \
26 tests/ovsdb-condition.at \
27 tests/ovsdb-query.at \
28 tests/ovsdb-transaction.at \
29 tests/ovsdb-execution.at \
30 tests/ovsdb-trigger.at \
32 tests/ovsdb-server.at \
33 tests/ovsdb-monitor.at \
37 TESTSUITE = $(srcdir)/tests/testsuite
38 DISTCLEANFILES += tests/atconfig tests/atlocal $(TESTSUITE)
40 check-local: tests/atconfig tests/atlocal $(TESTSUITE)
41 $(SHELL) '$(TESTSUITE)' -C tests AUTOTEST_PATH='utilities:vswitchd:ovsdb:tests' $(TESTSUITEFLAGS)
44 test ! -f '$(TESTSUITE)' || $(SHELL) '$(TESTSUITE)' -C tests --clean
47 AUTOTEST = $(AUTOM4TE) --language=autotest
48 $(TESTSUITE): package.m4 $(TESTSUITE_AT)
49 $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
52 # The `:;' works around a Bash 3.2 bug when the output is not writeable.
53 $(srcdir)/package.m4: $(top_srcdir)/configure.ac
55 echo '# Signature of the current package.' && \
56 echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])' && \
57 echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])' && \
58 echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])' && \
59 echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])' && \
60 echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
61 } >'$(srcdir)/package.m4'
63 noinst_PROGRAMS += tests/test-aes128
64 tests_test_aes128_SOURCES = tests/test-aes128.c
65 tests_test_aes128_LDADD = lib/libopenvswitch.a
67 noinst_PROGRAMS += tests/test-classifier
68 tests_test_classifier_SOURCES = tests/test-classifier.c
69 tests_test_classifier_LDADD = lib/libopenvswitch.a
71 noinst_PROGRAMS += tests/test-csum
72 tests_test_csum_SOURCES = tests/test-csum.c
73 tests_test_csum_LDADD = lib/libopenvswitch.a
75 noinst_PROGRAMS += tests/test-dir_name
76 tests_test_dir_name_SOURCES = tests/test-dir_name.c
77 tests_test_dir_name_LDADD = lib/libopenvswitch.a
79 noinst_PROGRAMS += tests/test-flows
80 tests_test_flows_SOURCES = tests/test-flows.c
81 tests_test_flows_LDADD = lib/libopenvswitch.a
82 dist_check_SCRIPTS = tests/flowgen.pl
84 noinst_PROGRAMS += tests/test-hash
85 tests_test_hash_SOURCES = tests/test-hash.c
86 tests_test_hash_LDADD = lib/libopenvswitch.a
88 noinst_PROGRAMS += tests/test-hmap
89 tests_test_hmap_SOURCES = tests/test-hmap.c
90 tests_test_hmap_LDADD = lib/libopenvswitch.a
92 noinst_PROGRAMS += tests/test-json
93 tests_test_json_SOURCES = tests/test-json.c
94 tests_test_json_LDADD = lib/libopenvswitch.a
96 noinst_PROGRAMS += tests/test-jsonrpc
97 tests_test_jsonrpc_SOURCES = tests/test-jsonrpc.c
98 tests_test_jsonrpc_LDADD = lib/libopenvswitch.a
100 noinst_PROGRAMS += tests/test-list
101 tests_test_list_SOURCES = tests/test-list.c
102 tests_test_list_LDADD = lib/libopenvswitch.a
104 noinst_PROGRAMS += tests/test-lockfile
105 tests_test_lockfile_SOURCES = tests/test-lockfile.c
106 tests_test_lockfile_LDADD = lib/libopenvswitch.a
108 noinst_PROGRAMS += tests/test-ovsdb
109 tests_test_ovsdb_SOURCES = tests/test-ovsdb.c
110 tests_test_ovsdb_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a
111 EXTRA_DIST += tests/uuidfilt.pl
113 noinst_PROGRAMS += tests/test-reconnect
114 tests_test_reconnect_SOURCES = tests/test-reconnect.c
115 tests_test_reconnect_LDADD = lib/libopenvswitch.a
117 noinst_PROGRAMS += tests/test-sha1
118 tests_test_sha1_SOURCES = tests/test-sha1.c
119 tests_test_sha1_LDADD = lib/libopenvswitch.a
121 noinst_PROGRAMS += tests/test-timeval
122 tests_test_timeval_SOURCES = tests/test-timeval.c
123 tests_test_timeval_LDADD = lib/libopenvswitch.a
125 noinst_PROGRAMS += tests/test-type-props
126 tests_test_type_props_SOURCES = tests/test-type-props.c
128 noinst_PROGRAMS += tests/test-dhcp-client
129 tests_test_dhcp_client_SOURCES = tests/test-dhcp-client.c
130 tests_test_dhcp_client_LDADD = lib/libopenvswitch.a $(FAULT_LIBS)
132 noinst_PROGRAMS += tests/test-stp
133 tests_test_stp_SOURCES = tests/test-stp.c
134 tests_test_stp_LDADD = lib/libopenvswitch.a
136 noinst_PROGRAMS += tests/test-uuid
137 tests_test_uuid_SOURCES = tests/test-uuid.c
138 tests_test_uuid_LDADD = lib/libopenvswitch.a
140 noinst_PROGRAMS += tests/test-vconn
141 tests_test_vconn_SOURCES = tests/test-vconn.c
142 tests_test_vconn_LDADD = lib/libopenvswitch.a $(SSL_LIBS)