aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/regressions_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2018-07-06 10:41:34 +0200
committerBjörn Gustavsson <[email protected]>2018-07-06 10:41:34 +0200
commit005e4720b46ca6e69c6b589038460a1311eeb073 (patch)
tree9785133e0f7ab1a6e616d57e414109910b7a7e74 /lib/compiler/test/regressions_SUITE.erl
parent4188cd5b4b511af979fe85ec9b87967a34bec02d (diff)
parent9995d639dc39e05e6c88d28cca0cf6de79ee291e (diff)
downloadotp-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.erl19
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