diff options
author | Russell Bryant <russell@ovn.org> | 2015-12-18 10:56:28 -0500 |
---|---|---|
committer | Russell Bryant <russell@ovn.org> | 2016-02-22 15:17:48 -0500 |
commit | 9a4d919a05bb16bef1186ab3d852df674b4a8aa9 (patch) | |
tree | aa55bf7ed28de4a2617e6373189cacfed98a5074 /tests/reconnect.at | |
parent | 58bed3df484b777dd7362053eee00c79504be2e0 (diff) | |
download | openvswitch-9a4d919a05bb16bef1186ab3d852df674b4a8aa9.tar.gz |
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 <russell@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests/reconnect.at')
-rw-r--r-- | tests/reconnect.at | 8 |
1 files changed, 7 insertions, 1 deletions
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])]) ###################################################################### |