aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/bs_construct_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2018-07-04 07:11:58 +0200
committerBjörn Gustavsson <[email protected]>2018-07-06 10:40:42 +0200
commit9995d639dc39e05e6c88d28cca0cf6de79ee291e (patch)
treef8912c735189be932c82b5f8d28cda0cc7afae21 /lib/compiler/test/bs_construct_SUITE.erl
parent99789794474140049a1939c4e4789b28dfe80e49 (diff)
downloadotp-9995d639dc39e05e6c88d28cca0cf6de79ee291e.tar.gz
otp-9995d639dc39e05e6c88d28cca0cf6de79ee291e.tar.bz2
otp-9995d639dc39e05e6c88d28cca0cf6de79ee291e.zip
Call test_lib:recompile/1 from init_per_suite/1
Call test_lib:recompile/1 from init_per_suite/1 instead of from all/0. That makes it easy to find the log from the compilation in the log file for the init_per_suite/1 test case.
Diffstat (limited to 'lib/compiler/test/bs_construct_SUITE.erl')
-rw-r--r--lib/compiler/test/bs_construct_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/compiler/test/bs_construct_SUITE.erl b/lib/compiler/test/bs_construct_SUITE.erl
index aa41baf7f0..ccc49df005 100644
--- a/lib/compiler/test/bs_construct_SUITE.erl
+++ b/lib/compiler/test/bs_construct_SUITE.erl
@@ -38,11 +38,10 @@ suite() ->
[{ct_hooks,[ts_install_cth]},
{timetrap,{minutes,1}}].
-all() ->
- test_lib:recompile(?MODULE),
+all() ->
[{group,p}].
-groups() ->
+groups() ->
[{p,[parallel],
[two,test1,fail,float_bin,in_guard,in_catch,
nasty_literals,side_effect,opt,otp_7556,float_arith,
@@ -50,6 +49,7 @@ groups() ->
init_per_suite(Config) ->
+ test_lib:recompile(?MODULE),
Config.
end_per_suite(_Config) ->