diff options
author | Lukas Larsson <[email protected]> | 2010-10-12 10:43:56 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-02-17 17:25:13 +0100 |
commit | 3d0f4a3085f11389e5b22d10f96f0cbf08c9337f (patch) | |
tree | 1103c2da64be7f08e523b499d9c5b35c6f6901c2 /lib/compiler/test/match_SUITE.erl | |
parent | a424e5a7dffcbf4685ee3be9fdec7002fa03294b (diff) | |
download | otp-3d0f4a3085f11389e5b22d10f96f0cbf08c9337f.tar.gz otp-3d0f4a3085f11389e5b22d10f96f0cbf08c9337f.tar.bz2 otp-3d0f4a3085f11389e5b22d10f96f0cbf08c9337f.zip |
Update compiler tests to conform with common_test standard
Diffstat (limited to 'lib/compiler/test/match_SUITE.erl')
-rw-r--r-- | lib/compiler/test/match_SUITE.erl | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/lib/compiler/test/match_SUITE.erl b/lib/compiler/test/match_SUITE.erl index fd51b777ac..9c9907d9b4 100644 --- a/lib/compiler/test/match_SUITE.erl +++ b/lib/compiler/test/match_SUITE.erl @@ -18,17 +18,27 @@ %% -module(match_SUITE). --export([all/1, +-export([all/0,groups/0,init_per_group/2,end_per_group/2, pmatch/1,mixed/1,aliases/1,match_in_call/1, untuplify/1,shortcut_boolean/1,letify_guard/1, selectify/1,underscore/1]). --include("test_server.hrl"). +-include_lib("test_server/include/test_server.hrl"). + +all() -> +test_lib:recompile(match_SUITE), + [pmatch, mixed, aliases, match_in_call, untuplify, + shortcut_boolean, letify_guard, selectify, underscore]. + +groups() -> + []. + +init_per_group(_GroupName, Config) -> + Config. + +end_per_group(_GroupName, Config) -> + Config. -all(suite) -> - test_lib:recompile(?MODULE), - [pmatch,mixed,aliases,match_in_call,untuplify,shortcut_boolean, - letify_guard,selectify,underscore]. pmatch(Config) when is_list(Config) -> ?line ok = doit(1), |