diff options
author | Lukas Larsson <[email protected]> | 2010-12-14 18:00:29 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-02-17 17:36:39 +0100 |
commit | 865a1019f742b6a5b24116926a4cbaee1cb7a60f (patch) | |
tree | ba7ddf1442684135f72c22d9db7b0f145c9e9a87 /erts/test/autoimport_SUITE.erl | |
parent | 14bcebfe8c0e71f450b4fa4d5d92c8e5e86fd870 (diff) | |
download | otp-865a1019f742b6a5b24116926a4cbaee1cb7a60f.tar.gz otp-865a1019f742b6a5b24116926a4cbaee1cb7a60f.tar.bz2 otp-865a1019f742b6a5b24116926a4cbaee1cb7a60f.zip |
Fix formatting for system
Diffstat (limited to 'erts/test/autoimport_SUITE.erl')
-rw-r--r-- | erts/test/autoimport_SUITE.erl | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/erts/test/autoimport_SUITE.erl b/erts/test/autoimport_SUITE.erl index 8c4d2ac2d0..a6270e373a 100644 --- a/erts/test/autoimport_SUITE.erl +++ b/erts/test/autoimport_SUITE.erl @@ -20,13 +20,16 @@ -module(autoimport_SUITE). -include_lib("test_server/include/test_server.hrl"). --export([all/0, suite/0,groups/0,init_per_suite/1, end_per_suite/1, init_per_group/2,end_per_group/2,init_per_testcase/2,fin_per_testcase/2,autoimports/1]). +-export([all/0, suite/0,groups/0,init_per_suite/1, end_per_suite/1, + init_per_group/2,end_per_group/2, + init_per_testcase/2,end_per_testcase/2, + autoimports/1]). -define(TEST_TIMEOUT, ?t:seconds(180)). suite() -> [{suite_callbacks,[ts_install_scb]}]. all() -> -[autoimports]. + [autoimports]. groups() -> []. @@ -38,17 +41,17 @@ end_per_suite(_Config) -> ok. init_per_group(_GroupName, Config) -> - Config. + Config. end_per_group(_GroupName, Config) -> - Config. + Config. init_per_testcase(_Func, Config) -> Dog = test_server:timetrap(?TEST_TIMEOUT), [{watchdog, Dog} | Config]. -fin_per_testcase(_Func, Config) -> +end_per_testcase(_Func, Config) -> Dog = ?config(watchdog, Config), catch test_server:timetrap_cancel(Dog), ok. |