aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-07-07 11:46:18 +0200
committerHans Nilsson <[email protected]>2017-07-07 11:46:18 +0200
commit6a213853cb0e8ba730e5ea64371c535e59280a4c (patch)
tree528ed51ea39d30158986cf600741c1f5b1df2ae4 /lib
parentb6afef4b4d1bc5705ba1c838e3f546c454de47c8 (diff)
parentf66e2fc4a37c23f147173cf3229bd24e335306e8 (diff)
downloadotp-6a213853cb0e8ba730e5ea64371c535e59280a4c.tar.gz
otp-6a213853cb0e8ba730e5ea64371c535e59280a4c.tar.bz2
otp-6a213853cb0e8ba730e5ea64371c535e59280a4c.zip
Merge branch 'hans/crypto/test_suite_reports_info' into maint
Diffstat (limited to 'lib')
-rw-r--r--lib/crypto/test/blowfish_SUITE.erl5
-rw-r--r--lib/crypto/test/crypto_SUITE.erl6
2 files changed, 11 insertions, 0 deletions
diff --git a/lib/crypto/test/blowfish_SUITE.erl b/lib/crypto/test/blowfish_SUITE.erl
index c2d0d2621b..c9033ac4f8 100644
--- a/lib/crypto/test/blowfish_SUITE.erl
+++ b/lib/crypto/test/blowfish_SUITE.erl
@@ -47,6 +47,11 @@
init_per_suite(Config) ->
case catch crypto:start() of
ok ->
+ catch ct:comment("~s",[element(3,hd(crypto:info_lib()))]),
+ catch ct:log("crypto:info_lib() -> ~p~n"
+ "crypto:supports() -> ~p~n"
+ "crypto:version() -> ~p~n"
+ ,[crypto:info_lib(), crypto:supports(), crypto:version()]),
Config;
_Else ->
{skip,"Could not start crypto!"}
diff --git a/lib/crypto/test/crypto_SUITE.erl b/lib/crypto/test/crypto_SUITE.erl
index 164f43dcb0..dbfe295900 100644
--- a/lib/crypto/test/crypto_SUITE.erl
+++ b/lib/crypto/test/crypto_SUITE.erl
@@ -177,6 +177,12 @@ init_per_suite(Config) ->
try crypto:start() of
ok ->
+ catch ct:comment("~s",[element(3,hd(crypto:info_lib()))]),
+ catch ct:log("crypto:info_lib() -> ~p~n"
+ "crypto:supports() -> ~p~n"
+ "crypto:version() -> ~p~n"
+ ,[crypto:info_lib(), crypto:supports(), crypto:version()]),
+
try crypto:strong_rand_bytes(1) of
_ ->
Config