summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSimon Horman <simon.horman@netronome.com>2017-05-03 16:33:06 +0200
committerSimon Horman <simon.horman@netronome.com>2017-05-04 09:26:58 +0200
commit1e96502faf86c8fd9ce33d9b4ca960be79e98191 (patch)
tree0a93c2e39c3d1727af4ccf1620ca6fcaa782b0d9 /tests
parent86e4311b06a30d5e6ee255db6057ea7f118c1f87 (diff)
downloadopenvswitch-1e96502faf86c8fd9ce33d9b4ca960be79e98191.tar.gz
tests: Only run python SSL test if SSL support is configured
Only run python SSL test, which invokes ovsdb with a --remote=pssl, if SSL support is configured. Without this change the following error appears when running the test-suite when OVS is configured with --disable-ssl. +ovsdb-server: Private key specified but Open vSwitch was built without SSL support ./ovsdb-idl.at:1215: exit code was 1, expected 0 Fixes: d90ed7d65ba8 ("python: Add SSL support to the python ovs client library") Signed-off-by: Simon Horman <simon.horman@netronome.com> Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/ovsdb-idl.at1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ovsdb-idl.at b/tests/ovsdb-idl.at
index d2c1ea6f3..d28dfc11e 100644
--- a/tests/ovsdb-idl.at
+++ b/tests/ovsdb-idl.at
@@ -1183,6 +1183,7 @@ m4_define([OVSDB_CHECK_IDL_NOTIFY_PY],
# This test uses the Python IDL implementation with ssl
m4_define([OVSDB_CHECK_IDL_NOTIFY_SSL_PY],
[AT_SETUP([$1 - SSL])
+ AT_SKIP_IF([test "$HAVE_OPENSSL" = no])
AT_SKIP_IF([test $HAVE_PYTHON = no])
$PYTHON -m OpenSSL.SSL
SSL_PRESENT=$?