diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-04-07 18:48:54 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-04-08 14:53:36 +0200 |
commit | 11827799463aa12ac94c387c6c7a38399af3e072 (patch) | |
tree | 6e183ef278c42326dc0daef2f8154febcefc1e38 | |
parent | 858ded838419a375a505f55f2cdb2d15acdc8e73 (diff) | |
download | otp-11827799463aa12ac94c387c6c7a38399af3e072.tar.gz otp-11827799463aa12ac94c387c6c7a38399af3e072.tar.bz2 otp-11827799463aa12ac94c387c6c7a38399af3e072.zip |
Remove unnecessary ct boilerplate in suite
-rw-r--r-- | erts/emulator/test/multi_load_SUITE.erl | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/erts/emulator/test/multi_load_SUITE.erl b/erts/emulator/test/multi_load_SUITE.erl index f3fab02170..e8769ea208 100644 --- a/erts/emulator/test/multi_load_SUITE.erl +++ b/erts/emulator/test/multi_load_SUITE.erl @@ -19,32 +19,16 @@ %% -module(multi_load_SUITE). --export([all/0, suite/0,groups/0,init_per_suite/1, end_per_suite/1, - init_per_group/2,end_per_group/2, - many/1,on_load/1,errors/1]). +-export([all/0, suite/0, many/1, on_load/1, errors/1]). -include_lib("common_test/include/ct.hrl"). -suite() -> [{ct_hooks,[ts_install_cth]}]. +suite() -> + [{ct_hooks,[ts_install_cth]}]. all() -> [many,on_load,errors]. -groups() -> - []. - -init_per_suite(Config) -> - Config. - -end_per_suite(_Config) -> - ok. - -init_per_group(_GroupName, Config) -> - Config. - -end_per_group(_GroupName, Config) -> - Config. - many(_Config) -> Ms = make_modules(100, fun many_module/1), @@ -57,7 +41,6 @@ many(_Config) -> io:put_chars("Heavy load\n" "=========="), many_measure(Ms), - ok. many_module(M) -> @@ -138,7 +121,6 @@ on_load(_Config) -> SingleOnPrep = tl(OnPrep), {on_load,[OnLoadMod]} = erlang:finish_loading(SingleOnPrep), ok = erlang:call_on_load_function(OnLoadMod), - ok. on_load_module(M) -> |