Skip to content

Commit

Permalink
Skip ct_netconf tests if there is no crypto
Browse files Browse the repository at this point in the history
  • Loading branch information
garazdawi committed Oct 22, 2012
1 parent 6c3ef28 commit 5851407
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/common_test/test/ct_netconfc_SUITE.erl
Expand Up @@ -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).
Expand Down

0 comments on commit 5851407

Please sign in to comment.