aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-10-22 10:12:47 +0200
committerHans Nilsson <[email protected]>2018-10-24 10:15:43 +0200
commitd53cb8e4f366669714c8c68a0fb481e8eaf849c9 (patch)
treebee2622c0966e75503f400d0873785b01b91a4a8 /lib/crypto
parentcffe913039c4ce0c9702be1f410c2f2967008f68 (diff)
downloadotp-d53cb8e4f366669714c8c68a0fb481e8eaf849c9.tar.gz
otp-d53cb8e4f366669714c8c68a0fb481e8eaf849c9.tar.bz2
otp-d53cb8e4f366669714c8c68a0fb481e8eaf849c9.zip
crypto: Disable engine tests on Darwin and Windows
Does not work.
Diffstat (limited to 'lib/crypto')
-rw-r--r--lib/crypto/test/engine_SUITE.erl15
1 files changed, 11 insertions, 4 deletions
diff --git a/lib/crypto/test/engine_SUITE.erl b/lib/crypto/test/engine_SUITE.erl
index b083b30d70..0427923941 100644
--- a/lib/crypto/test/engine_SUITE.erl
+++ b/lib/crypto/test/engine_SUITE.erl
@@ -75,11 +75,18 @@ groups() ->
init_per_suite(Config) ->
- case crypto:info_lib() of
- [{_,_, <<"OpenSSL 1.0.1s-freebsd 1 Mar 2016">>}] ->
+ case {os:type(), crypto:info_lib()} of
+ {_, [{_,_, <<"OpenSSL 1.0.1s-freebsd 1 Mar 2016">>}]} ->
{skip, "Problem with engine on OpenSSL 1.0.1s-freebsd"};
- Res ->
- ct:log("crypto:info_lib() -> ~p\n", [Res]),
+
+ {{unix,darwin}, _} ->
+ {skip, "Engine unsupported on Darwin"};
+
+ {{win32,_}, _} ->
+ {skip, "Engine unsupported on Windows"};
+
+ {OS, Res} ->
+ ct:log("crypto:info_lib() -> ~p\nos:type() -> ~p", [Res,OS]),
try crypto:start() of
ok ->
Config;