aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/test
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2011-10-07 13:28:23 +0200
committerAnders Svensson <[email protected]>2011-10-07 13:35:25 +0200
commitafaae9dc224c9b57eb4cbf6465e8adbac0264871 (patch)
tree1a6c2a7165964680ee0d143245106ae161f68413 /lib/diameter/test
parentc002a636022d9910288a8612d03c6edd5c1a6962 (diff)
downloadotp-afaae9dc224c9b57eb4cbf6465e8adbac0264871.tar.gz
otp-afaae9dc224c9b57eb4cbf6465e8adbac0264871.tar.bz2
otp-afaae9dc224c9b57eb4cbf6465e8adbac0264871.zip
Skip tls testsuite if there's no openssl
Diffstat (limited to 'lib/diameter/test')
-rw-r--r--lib/diameter/test/diameter_tls_SUITE.erl5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/diameter/test/diameter_tls_SUITE.erl b/lib/diameter/test/diameter_tls_SUITE.erl
index 8cf135cebf..c0a9603e04 100644
--- a/lib/diameter/test/diameter_tls_SUITE.erl
+++ b/lib/diameter/test/diameter_tls_SUITE.erl
@@ -144,6 +144,11 @@ end_per_group(_, _) ->
ok.
init_per_suite(Config) ->
+ init(os:find_executable("openssl"), Config).
+
+init(false, _) ->
+ {skip, no_openssl};
+init(_, Config) ->
ok = ssl:start(),
ok = diameter:start(),