Skip to content

Commit dfef14e

Browse files
committed
tests: Add ovn keyword to all ovn tests.
Autotest keywords are helpful for running a subset of the test suite. This patch makes it so you can run all OVN tests using the 'ovn' keyword. $ make check TESTSUITEFLAGS="-k ovn" Signed-off-by: Russell Bryant <russell@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
1 parent 60642e4 commit dfef14e

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

tests/ovn-controller-vtep.at

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ AT_BANNER([ovn_controller_vtep])
1313
#
1414
m4_define([OVN_CONTROLLER_VTEP_START],
1515
[
16+
AT_KEYWORDS([ovn])
1617
# this will cause skip when 'make check' using Windows setup.
1718
AT_SKIP_IF([test $HAVE_PYTHON = no])
1819

tests/ovn-controller.at

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
AT_BANNER([ovn-controller])
22

33
AT_SETUP([ovn-controller - ovn-bridge-mappings])
4+
AT_KEYWORDS([ovn])
45
ovn_init_db ovn-sb
56
net_add n1
67
sim_add hv

tests/ovn-nbctl.at

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ AT_BANNER([ovn-nbctl])
33
# OVN_NBCTL_TEST_START
44
m4_define([OVN_NBCTL_TEST_START],
55
[dnl Create ovn-nb database.
6+
AT_KEYWORDS([ovn])
67
AT_CHECK([ovsdb-tool create ovn-nb.db $abs_top_srcdir/ovn/ovn-nb.ovsschema])
78

89
dnl Start ovsdb-server.

tests/ovn-sbctl.at

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ AT_BANNER([ovn-sbctl])
33
# OVN_SBCTL_TEST_START
44
m4_define([OVN_SBCTL_TEST_START],
55
[dnl Create databases (ovn-nb, ovn-sb).
6+
AT_KEYWORDS([ovn])
67
for daemon in ovn-nb ovn-sb; do
78
AT_CHECK([ovsdb-tool create $daemon.db $abs_top_srcdir/${daemon%%-*}/${daemon}.ovsschema])
89
done

0 commit comments

Comments
 (0)