diff mbox series

[ovs-dev,1/2] ovsdb-cluster-testsuite.at: Restores "clustered transactions" tests back.

Message ID 1555701467-26745-1-git-send-email-hzhou8@ebay.com
State Accepted
Commit 9f39622ab2c67b2f1496b9ee9a395c204527f584
Headers show
Series [ovs-dev,1/2] ovsdb-cluster-testsuite.at: Restores "clustered transactions" tests back. | expand

Commit Message

Han Zhou April 19, 2019, 7:17 p.m. UTC
From: Han Zhou <hzhou8@ebay.com>

In commit-2bcb3b70 (ovsdb raft: Move ovsdb cluster tests to separate
testsuite.) the "clustered transactions" tests were left unexecuted
because they depend on "EXECUTION_EXAMPLES", which is defined in
ovsdb-execution.at.

Signed-off-by: Han Zhou <hzhou8@ebay.com>
---
 tests/automake.mk                | 1 +
 tests/ovsdb-cluster-testsuite.at | 7 +------
 2 files changed, 2 insertions(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/tests/automake.mk b/tests/automake.mk
index 017d2d4..ea16532 100644
--- a/tests/automake.mk
+++ b/tests/automake.mk
@@ -144,6 +144,7 @@  $(srcdir)/tests/fuzz-regression-list.at: tests/automake.mk
 
 OVSDB_CLUSTER_TESTSUITE_AT = \
 	tests/ovsdb-cluster-testsuite.at \
+	tests/ovsdb-execution.at \
 	tests/ovsdb-cluster.at
 
 SYSTEM_KMOD_TESTSUITE_AT = \
diff --git a/tests/ovsdb-cluster-testsuite.at b/tests/ovsdb-cluster-testsuite.at
index 6c205c1..c411c18 100644
--- a/tests/ovsdb-cluster-testsuite.at
+++ b/tests/ovsdb-cluster-testsuite.at
@@ -6,10 +6,5 @@  m4_include([tests/ovs-macros.at])
 m4_include([tests/ovsdb-macros.at])
 m4_include([tests/ofproto-macros.at])
 
-# XXX: below dummy test is to invoke AT_SETUP before including any tests.
-# Without this, there will be error: possibly undefined macro: AT_capture_files
-# when parsing .at files that use OVS_START_SHELL_HELPERS.
-AT_SETUP([dummy])
-AT_CHECK([:])
-AT_CLEANUP
+m4_include([tests/ovsdb-execution.at])
 m4_include([tests/ovsdb-cluster.at])