diff options
author | Lukas Larsson <[email protected]> | 2010-10-12 11:01:41 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-02-17 17:28:29 +0100 |
commit | 9447ff6854785cec4fc051560c36560d0b7155cc (patch) | |
tree | cee29bce6f6bd142256f9dcec2c657e17c903cdf /lib/eunit | |
parent | 4ca6c1a49d6c06e01eac06dd5df996def23fb253 (diff) | |
download | otp-9447ff6854785cec4fc051560c36560d0b7155cc.tar.gz otp-9447ff6854785cec4fc051560c36560d0b7155cc.tar.bz2 otp-9447ff6854785cec4fc051560c36560d0b7155cc.zip |
Update eunit tests to conform with common_test standard
Diffstat (limited to 'lib/eunit')
-rw-r--r-- | lib/eunit/test/eunit_SUITE.erl | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/lib/eunit/test/eunit_SUITE.erl b/lib/eunit/test/eunit_SUITE.erl index 406ff9d499..0fc409b62e 100644 --- a/lib/eunit/test/eunit_SUITE.erl +++ b/lib/eunit/test/eunit_SUITE.erl @@ -18,12 +18,22 @@ %% -module(eunit_SUITE). --export([all/1,eunit_test/1]). +-export([all/0,groups/0,init_per_group/2,end_per_group/2,eunit_test/1]). --include("test_server.hrl"). +-include_lib("common_test/include/ct.hrl"). + +all() -> +[eunit_test]. + +groups() -> + []. + +init_per_group(_GroupName, Config) -> + Config. + +end_per_group(_GroupName, Config) -> + Config. -all(suite) -> - [eunit_test]. eunit_test(Config) when is_list(Config) -> ok = file:set_cwd(code:lib_dir(eunit)), |