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/record_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/record_SUITE.erl')
-rw-r--r-- | lib/compiler/test/record_SUITE.erl | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/lib/compiler/test/record_SUITE.erl b/lib/compiler/test/record_SUITE.erl index 122f53ec73..ee7dfda398 100644 --- a/lib/compiler/test/record_SUITE.erl +++ b/lib/compiler/test/record_SUITE.erl @@ -20,9 +20,9 @@ -module(record_SUITE). --include("test_server.hrl"). +-include_lib("test_server/include/test_server.hrl"). --export([all/1,init_per_testcase/2,end_per_testcase/2, +-export([all/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,end_per_testcase/2, errors/1,record_test_2/1,record_test_3/1,record_access_in_guards/1, guard_opt/1,eval_once/1,foobar/1,missing_test_heap/1, nested_access/1]). @@ -35,10 +35,21 @@ end_per_testcase(_Case, Config) -> test_server:timetrap_cancel(Dog), ok. -all(suite) -> - test_lib:recompile(?MODULE), - [errors,record_test_2,record_test_3,record_access_in_guards, - guard_opt,eval_once,foobar,missing_test_heap,nested_access]. +all() -> +test_lib:recompile(record_SUITE), + [errors, record_test_2, record_test_3, + record_access_in_guards, guard_opt, eval_once, foobar, + missing_test_heap, nested_access]. + +groups() -> + []. + +init_per_group(_GroupName, Config) -> + Config. + +end_per_group(_GroupName, Config) -> + Config. + -record(foo, {a,b,c,d}). -record(bar, {a,b,c,d}). |