[ovs-dev] [PATCH V2] ovn test: Skip "send gratuitous arp on localnet" if no Python installed

Paul Boca pboca at cloudbasesolutions.com
Mon Jul 4 10:00:47 UTC 2016


This test needs Python in order to run.

Signed-off-by: Paul-Daniel Boca <pboca at cloudbasesolutions.com>
---
V2: Skip this test only if Python is not installed.
    Let it run if the OS is Windows.
---
 tests/ovn.at | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/ovn.at b/tests/ovn.at
index feb68d3..f11021d 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -2705,6 +2705,7 @@ AT_CLEANUP
 
 AT_SETUP([ovn -- send gratuitous arp on localnet])
 AT_KEYWORDS([ovn])
+AT_SKIP_IF([test $HAVE_PYTHON = no])
 ovn_start
 ovn-nbctl ls-add lsw0
 net_add n1
-- 
2.7.2.windows.1



More information about the dev mailing list