diff options
author | Lukas Larsson <[email protected]> | 2012-10-08 17:11:54 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2012-10-22 16:03:34 +0200 |
commit | 58514077ca89015773f62ed327d767fb412a83f0 (patch) | |
tree | 02b643fe00139e033930ae3d63db8ebda61d43c6 /lib | |
parent | 6c3ef2850de2c45699885a6bbbed6e43b110b2d9 (diff) | |
download | otp-58514077ca89015773f62ed327d767fb412a83f0.tar.gz otp-58514077ca89015773f62ed327d767fb412a83f0.tar.bz2 otp-58514077ca89015773f62ed327d767fb412a83f0.zip |
Skip ct_netconf tests if there is no crypto
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common_test/test/ct_netconfc_SUITE.erl | 7 |
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). |