reconnect.at: Run tests for Python 2 and 3.
authorRussell Bryant <russell@ovn.org>
Fri, 18 Dec 2015 15:56:28 +0000 (10:56 -0500)
committerRussell Bryant <russell@ovn.org>
Mon, 22 Feb 2016 20:17:48 +0000 (15:17 -0500)
Update the reconnect tests to use both Python 2 and 3.

Signed-off-by: Russell Bryant <russell@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
tests/reconnect.at

index 9ebe183..c88ca78 100644 (file)
@@ -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])])
 
 ######################################################################