aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test/ct_netconfc_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2012-10-08 17:11:54 +0200
committerLukas Larsson <[email protected]>2012-10-22 16:03:34 +0200
commit58514077ca89015773f62ed327d767fb412a83f0 (patch)
tree02b643fe00139e033930ae3d63db8ebda61d43c6 /lib/common_test/test/ct_netconfc_SUITE.erl
parent6c3ef2850de2c45699885a6bbbed6e43b110b2d9 (diff)
downloadotp-58514077ca89015773f62ed327d767fb412a83f0.tar.gz
otp-58514077ca89015773f62ed327d767fb412a83f0.tar.bz2
otp-58514077ca89015773f62ed327d767fb412a83f0.zip
Skip ct_netconf tests if there is no crypto
Diffstat (limited to 'lib/common_test/test/ct_netconfc_SUITE.erl')
-rw-r--r--lib/common_test/test/ct_netconfc_SUITE.erl7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/common_test/test/ct_netconfc_SUITE.erl b/lib/common_test/test/ct_netconfc_SUITE.erl
index e6e8d5b09c..30084a6228 100644
--- a/lib/common_test/test/ct_netconfc_SUITE.erl
+++ b/lib/common_test/test/ct_netconfc_SUITE.erl
@@ -44,7 +44,12 @@
%%--------------------------------------------------------------------
init_per_suite(Config) ->
Config1 = ct_test_support:init_per_suite(Config),
- Config1.
+ case application:load(crypto) of
+ {error,Reason} ->
+ {skip, Reason};
+ _ ->
+ Config1
+ end.
end_per_suite(Config) ->
ct_test_support:end_per_suite(Config).