aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reltool/test/reltool_test_lib.erl
diff options
context:
space:
mode:
authorHåkan Mattsson <[email protected]>2010-03-15 16:09:04 +0100
committerHåkan Mattsson <[email protected]>2010-04-19 13:17:33 +0200
commit5217fb3d0816aa241d228f7ef14fb54f6a14a8f8 (patch)
tree7fd7caa5b0f0dd8b98dd8c3468b6076b6fc60c2c /lib/reltool/test/reltool_test_lib.erl
parent6512dbbb4c119deda0b1185c5ec9a6e5b32a22fe (diff)
downloadotp-5217fb3d0816aa241d228f7ef14fb54f6a14a8f8.tar.gz
otp-5217fb3d0816aa241d228f7ef14fb54f6a14a8f8.tar.bz2
otp-5217fb3d0816aa241d228f7ef14fb54f6a14a8f8.zip
Add app test SUITE
Diffstat (limited to 'lib/reltool/test/reltool_test_lib.erl')
-rw-r--r--lib/reltool/test/reltool_test_lib.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/reltool/test/reltool_test_lib.erl b/lib/reltool/test/reltool_test_lib.erl
index 25978294ee..4023b37e8c 100644
--- a/lib/reltool/test/reltool_test_lib.erl
+++ b/lib/reltool/test/reltool_test_lib.erl
@@ -24,9 +24,11 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
init_per_suite(Config) when is_list(Config)->
+ global:register_name(reltool_global_logger, group_leader()),
incr_timetrap(Config, 5).
end_per_suite(Config) when is_list(Config)->
+ global:unregister_name(reltool_global_logger),
ok.
incr_timetrap(Config, Times) ->
@@ -130,11 +132,9 @@ wx_end_per_suite(Config) ->
init_per_testcase(_Func, Config) when is_list(Config) ->
set_kill_timer(Config),
- global:register_name(reltool_global_logger, group_leader()),
Config.
end_per_testcase(_Func, Config) when is_list(Config) ->
- global:unregister_name(reltool_global_logger),
reset_kill_timer(Config),
Config.