From 9a4d919a05bb16bef1186ab3d852df674b4a8aa9 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Fri, 18 Dec 2015 10:56:28 -0500 Subject: [PATCH] reconnect.at: Run tests for Python 2 and 3. Update the reconnect tests to use both Python 2 and 3. Signed-off-by: Russell Bryant Acked-by: Ben Pfaff --- tests/reconnect.at | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/reconnect.at b/tests/reconnect.at index 9ebe18311..c88ca785c 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.20.1