Update the reconnect tests to use both Python 2 and 3.
Signed-off-by: Russell Bryant <[email protected]>
---
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
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev