Skip to content

Commit

Permalink
Skip reltool_app_SUITE:undef_funcs on debug compiled emulator
Browse files Browse the repository at this point in the history
  • Loading branch information
sirihansen committed Mar 14, 2011
1 parent 34534ab commit bbc29c4
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions lib/reltool/test/reltool_app_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,16 @@ init_per_suite(Config) ->
end_per_suite(Config) ->
reltool_test_lib:end_per_suite(Config).

init_per_testcase(undef_funcs=Case, Config) ->
case test_server:is_debug() of
true ->
{skip,"Debug-compiled emulator -- far too slow"};
false ->
Config2 = [{tc_timeout, timer:minutes(10)} | Config],
reltool_test_lib:init_per_testcase(Case, Config2)
end;
init_per_testcase(Case, Config) ->
Config2 =
case Case of
undef_funcs ->
[{tc_timeout, timer:minutes(10)} | Config];
_ ->
Config
end,
reltool_test_lib:init_per_testcase(Case, Config2).
reltool_test_lib:init_per_testcase(Case, Config).

end_per_testcase(Func,Config) ->
reltool_test_lib:end_per_testcase(Func,Config).
Expand Down

0 comments on commit bbc29c4

Please sign in to comment.