aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2011-03-24 14:56:08 +0100
committerSiri Hansen <[email protected]>2011-03-24 14:56:08 +0100
commitd9932cbb82954532fb39ffaa05cde74a6ec8869c (patch)
tree043fdd961da3bc238167cc9514e980a83a55bdc1 /lib
parent9d6c7c8bf6b170ad1be824a2a3a24a3218c2d1b6 (diff)
parentbbc29c459ac9bad4af10b517370a5b7090fcc9c6 (diff)
downloadotp-d9932cbb82954532fb39ffaa05cde74a6ec8869c.tar.gz
otp-d9932cbb82954532fb39ffaa05cde74a6ec8869c.tar.bz2
otp-d9932cbb82954532fb39ffaa05cde74a6ec8869c.zip
Merge branch 'siri/reltool/skip-xref-test-when-debug/OTP-9133' into dev
* siri/reltool/skip-xref-test-when-debug/OTP-9133: Skip reltool_app_SUITE:undef_funcs on debug compiled emulator
Diffstat (limited to 'lib')
-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).