aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reltool/test
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2011-03-14 17:27:17 +0100
committerSiri Hansen <[email protected]>2011-03-14 17:27:17 +0100
commitbbc29c459ac9bad4af10b517370a5b7090fcc9c6 (patch)
treeaf9210933e8cd68132508f546c0c965e4e72c27b /lib/reltool/test
parent34534ab6f713c9b835e40e72fc23de0dd781da08 (diff)
downloadotp-bbc29c459ac9bad4af10b517370a5b7090fcc9c6.tar.gz
otp-bbc29c459ac9bad4af10b517370a5b7090fcc9c6.tar.bz2
otp-bbc29c459ac9bad4af10b517370a5b7090fcc9c6.zip
Skip reltool_app_SUITE:undef_funcs on debug compiled emulator
Diffstat (limited to 'lib/reltool/test')
-rw-r--r--lib/reltool/test/reltool_app_SUITE.erl17
1 files changed, 9 insertions, 8 deletions
diff --git a/lib/reltool/test/reltool_app_SUITE.erl b/lib/reltool/test/reltool_app_SUITE.erl
index 97076589ba..a6e00cde08 100644
--- a/lib/reltool/test/reltool_app_SUITE.erl
+++ b/lib/reltool/test/reltool_app_SUITE.erl
@@ -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).