diff options
author | Lukas Larsson <[email protected]> | 2010-12-07 11:35:13 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-02-17 17:34:48 +0100 |
commit | 8fd1f31f3074bc9444a0769418506b1ccc2041d3 (patch) | |
tree | 5c1bfacf63856ccdb7a4d1fd384b1fe8c47232d9 /lib/kernel/test/os_SUITE.erl | |
parent | 83f932257470f5ae01fc61130e997fdea0562653 (diff) | |
download | otp-8fd1f31f3074bc9444a0769418506b1ccc2041d3.tar.gz otp-8fd1f31f3074bc9444a0769418506b1ccc2041d3.tar.bz2 otp-8fd1f31f3074bc9444a0769418506b1ccc2041d3.zip |
Add init_per_suite and end_per_suite
Diffstat (limited to 'lib/kernel/test/os_SUITE.erl')
-rw-r--r-- | lib/kernel/test/os_SUITE.erl | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/kernel/test/os_SUITE.erl b/lib/kernel/test/os_SUITE.erl index 45c4990036..06b60871cc 100644 --- a/lib/kernel/test/os_SUITE.erl +++ b/lib/kernel/test/os_SUITE.erl @@ -18,7 +18,7 @@ %% -module(os_SUITE). --export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2]). +-export([all/0, suite/0,groups/0,init_per_suite/1, end_per_suite/1, init_per_group/2,end_per_group/2]). -export([space_in_cwd/1, quoting/1, space_in_name/1, bad_command/1, find_executable/1, unix_comment_in_command/1, evil/1]). @@ -33,11 +33,17 @@ all() -> groups() -> []. +init_per_suite(Config) -> + Config. + +end_per_suite(_Config) -> + ok. + init_per_group(_GroupName, Config) -> - Config. + Config. end_per_group(_GroupName, Config) -> - Config. + Config. space_in_cwd(doc) -> @@ -266,9 +272,7 @@ strip_nl([$\n]) -> []; strip_nl([H|T]) -> [H|strip_nl(T)]; strip_nl([]) -> []. -receive_suite() -> [{suite_callbacks,[ts_install_scb]}]. - -all() -> +receive_all() -> receive X -> [X|receive_all()] after 0 -> [] |