diff options
author | Björn Gustavsson <[email protected]> | 2018-07-04 07:11:58 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2018-07-06 10:40:42 +0200 |
commit | 9995d639dc39e05e6c88d28cca0cf6de79ee291e (patch) | |
tree | f8912c735189be932c82b5f8d28cda0cc7afae21 /lib/compiler/test/inline_SUITE.erl | |
parent | 99789794474140049a1939c4e4789b28dfe80e49 (diff) | |
download | otp-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/inline_SUITE.erl')
-rw-r--r-- | lib/compiler/test/inline_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/test/inline_SUITE.erl b/lib/compiler/test/inline_SUITE.erl index ae59cc8026..fdf2fe88b4 100644 --- a/lib/compiler/test/inline_SUITE.erl +++ b/lib/compiler/test/inline_SUITE.erl @@ -32,7 +32,6 @@ suite() -> [{ct_hooks,[ts_install_cth]}]. all() -> - test_lib:recompile(?MODULE), [{group,p}]. groups() -> @@ -42,6 +41,7 @@ groups() -> coverage]}]. init_per_suite(Config) -> + test_lib:recompile(?MODULE), Pa = "-pa " ++ filename:dirname(code:which(?MODULE)), {ok,Node} = start_node(compiler, Pa), [{testing_node,Node}|Config]. |