tests: Add ovsdb lock tests
[cascardo/ovs.git] / tests / automake.mk
index 211a80d..575ffeb 100644 (file)
@@ -48,6 +48,7 @@ TESTSUITE_AT = \
        tests/json.at \
        tests/jsonrpc.at \
        tests/jsonrpc-py.at \
+       tests/pmd.at \
        tests/tunnel.at \
        tests/tunnel-push-pop.at \
        tests/tunnel-push-pop-ipv6.at \
@@ -59,6 +60,7 @@ TESTSUITE_AT = \
        tests/ofproto-dpif.at \
        tests/bridge.at \
        tests/ofproto.at \
+       tests/netdev-type.at \
        tests/ovsdb.at \
        tests/ovsdb-log.at \
        tests/ovsdb-types.at \
@@ -74,9 +76,11 @@ TESTSUITE_AT = \
        tests/ovsdb-execution.at \
        tests/ovsdb-trigger.at \
        tests/ovsdb-tool.at \
+       tests/ovsdb-replication.at \
        tests/ovsdb-server.at \
        tests/ovsdb-monitor.at \
        tests/ovsdb-idl.at \
+       tests/ovsdb-lock.at \
        tests/ovs-vsctl.at \
        tests/ovs-monitor-ipsec.at \
        tests/ovs-xapi-sync.at \
@@ -99,10 +103,12 @@ SYSTEM_KMOD_TESTSUITE_AT = \
 
 SYSTEM_USERSPACE_TESTSUITE_AT = \
        tests/system-userspace-testsuite.at \
+       tests/system-ovn.at \
        tests/system-userspace-macros.at
 
 SYSTEM_TESTSUITE_AT = \
        tests/system-common-macros.at \
+       tests/system-ovn.at \
        tests/system-traffic.at
 
 TESTSUITE = $(srcdir)/tests/testsuite
@@ -169,6 +175,7 @@ valgrind_wrappers = \
        tests/valgrind/test-bundle \
        tests/valgrind/test-byte-order \
        tests/valgrind/test-classifier \
+       tests/valgrind/test-ccmap \
        tests/valgrind/test-cmap \
        tests/valgrind/test-csum \
        tests/valgrind/test-flows \
@@ -207,6 +214,9 @@ EXTRA_DIST += tests/valgrind-wrapper.in
 VALGRIND = valgrind --log-file=valgrind.%p --leak-check=full \
        --suppressions=$(abs_top_srcdir)/tests/glibc.supp \
        --suppressions=$(abs_top_srcdir)/tests/openssl.supp --num-callers=20
+HELGRIND = valgrind --log-file=helgrind.%p --tool=helgrind \
+       --suppressions=$(abs_top_srcdir)/tests/glibc.supp \
+       --suppressions=$(abs_top_srcdir)/tests/openssl.supp --num-callers=20
 EXTRA_DIST += tests/glibc.supp tests/openssl.supp
 check-valgrind: all tests/atconfig tests/atlocal $(TESTSUITE) \
                 $(valgrind_wrappers) $(check_DATA)
@@ -215,6 +225,10 @@ check-valgrind: all tests/atconfig tests/atlocal $(TESTSUITE) \
        @echo '----------------------------------------------------------------------'
        @echo 'Valgrind output can be found in tests/testsuite.dir/*/valgrind.*'
        @echo '----------------------------------------------------------------------'
+check-helgrind: all tests/atconfig tests/atlocal $(TESTSUITE) \
+                $(valgrind_wrappers) $(check_DATA)
+       -$(SHELL) '$(TESTSUITE)' -C tests CHECK_VALGRIND=true VALGRIND='$(HELGRIND)' AUTOTEST_PATH='tests/valgrind:$(AUTOTEST_PATH)' -d $(TESTSUITEFLAGS)
+
 \f
 # OFTest support.
 
@@ -312,6 +326,7 @@ tests_ovstest_SOURCES = \
        tests/test-bundle.c \
        tests/test-byte-order.c \
        tests/test-classifier.c \
+       tests/test-ccmap.c \
        tests/test-cmap.c \
        tests/test-csum.c \
        tests/test-flows.c \