[ovs-dev] [PATCH 10/14] reconnect.at: Run tests for Python 2 and 3.

Russell Bryant russell at ovn.org
Tue Feb 2 22:36:52 UTC 2016


Update the reconnect tests to use both Python 2 and 3.

Signed-off-by: Russell Bryant <russell at ovn.org>
---
 tests/reconnect.at | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/tests/reconnect.at b/tests/reconnect.at
index 9ebe183..c88ca78 100644
--- a/tests/reconnect.at
+++ b/tests/reconnect.at
@@ -16,10 +16,16 @@ m4_define([RECONNECT_CHECK],
      [ovstest test-reconnect < input],
      [$3])
    __RECONNECT_CHECK(
-     [$1 - Python],
+     [$1 - Python2],
      [AT_SKIP_IF([test $HAVE_PYTHON = no])],
      [$2],
      [$PYTHON $srcdir/test-reconnect.py < input],
+     [$3])
+   __RECONNECT_CHECK(
+     [$1 - Python3],
+     [AT_SKIP_IF([test $HAVE_PYTHON3 = no])],
+     [$2],
+     [$PYTHON3 $srcdir/test-reconnect.py < input],
      [$3])])
 
 ######################################################################
-- 
2.5.0




More information about the dev mailing list