Skip to content

Commit

Permalink
reconnect.at: Run tests for Python 2 and 3.
Browse files Browse the repository at this point in the history
Update the reconnect tests to use both Python 2 and 3.

Signed-off-by: Russell Bryant <[email protected]>
Acked-by: Ben Pfaff <[email protected]>
  • Loading branch information
russellb committed Feb 22, 2016
1 parent 58bed3d commit 9a4d919
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/reconnect.at
Original file line number Diff line number Diff line change
Expand Up @@ -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])])

######################################################################
Expand Down

0 comments on commit 9a4d919

Please sign in to comment.