diff options
author | Björn Gustavsson <[email protected]> | 2018-07-06 10:41:34 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2018-07-06 10:41:34 +0200 |
commit | 005e4720b46ca6e69c6b589038460a1311eeb073 (patch) | |
tree | 9785133e0f7ab1a6e616d57e414109910b7a7e74 /lib/compiler/test/regressions_SUITE.erl | |
parent | 4188cd5b4b511af979fe85ec9b87967a34bec02d (diff) | |
parent | 9995d639dc39e05e6c88d28cca0cf6de79ee291e (diff) | |
download | otp-005e4720b46ca6e69c6b589038460a1311eeb073.tar.gz otp-005e4720b46ca6e69c6b589038460a1311eeb073.tar.bz2 otp-005e4720b46ca6e69c6b589038460a1311eeb073.zip |
Merge branch 'bjorn/compiler/cuddle-with-tests' into maint
* bjorn/compiler/cuddle-with-tests:
Call test_lib:recompile/1 from init_per_suite/1
Diffstat (limited to 'lib/compiler/test/regressions_SUITE.erl')
-rw-r--r-- | lib/compiler/test/regressions_SUITE.erl | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/lib/compiler/test/regressions_SUITE.erl b/lib/compiler/test/regressions_SUITE.erl index 7a6fe08c73..f448d54933 100644 --- a/lib/compiler/test/regressions_SUITE.erl +++ b/lib/compiler/test/regressions_SUITE.erl @@ -21,13 +21,29 @@ -module(regressions_SUITE). -include_lib("common_test/include/ct.hrl"). --export([all/0,groups/0,init_per_testcase/2,end_per_testcase/2,suite/0]). +-export([all/0,groups/0,init_per_testcase/2,end_per_testcase/2, + init_per_group/2,end_per_group/2, + init_per_testcase/2,end_per_testcase/2, + suite/0]). -export([maps/1]). groups() -> [{p,test_lib:parallel(), [maps]}]. +init_per_suite(Config) -> + test_lib:recompile(?MODULE), + Config. + +end_per_suite(_Config) -> + ok. + +init_per_group(_GroupName, Config) -> + Config. + +end_per_group(_GroupName, Config) -> + Config. + init_per_testcase(_Case, Config) -> Config. @@ -39,7 +55,6 @@ suite() -> {timetrap,{minutes,2}}]. all() -> - test_lib:recompile(?MODULE), [{group,p}]. %%% test cases |