aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-09-27 17:14:08 +0200
committerLukas Larsson <[email protected]>2011-09-29 17:31:29 +0200
commitd41617d9969253d9e66270beebac843865036baa (patch)
tree4bba764f3cfb1526966cdd0927fa6c71584c6d75
parentbb98bf86894527817e0d00aa87286a4291937d03 (diff)
downloadotp-d41617d9969253d9e66270beebac843865036baa.tar.gz
otp-d41617d9969253d9e66270beebac843865036baa.tar.bz2
otp-d41617d9969253d9e66270beebac843865036baa.zip
Skip create_big_boot on platforms without crypto
This has to be done as many other applications depend on that crypto is present.
-rw-r--r--lib/kernel/test/code_SUITE.erl7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/kernel/test/code_SUITE.erl b/lib/kernel/test/code_SUITE.erl
index f7d56eed48..b677f34ed0 100644
--- a/lib/kernel/test/code_SUITE.erl
+++ b/lib/kernel/test/code_SUITE.erl
@@ -81,6 +81,13 @@ init_per_suite(Config) ->
end_per_suite(Config) ->
Config.
+init_per_testcase(big_boot_embedded, Config) ->
+ case catch crypto:start() of
+ ok ->
+ init_per_testcase(do_big_boot_embedded, Config);
+ _Else ->
+ {skip, "Needs crypto!"}
+ end;
init_per_testcase(_Func, Config) ->
Dog=?t:timetrap(?t:minutes(5)),
P=code:get_path(),