diff options
author | Björn Gustavsson <[email protected]> | 2019-02-15 11:51:50 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2019-02-15 11:51:50 +0100 |
commit | 5806007cbbfb20d7c6538e330558b5364fb7551f (patch) | |
tree | 414b885a0220e9f370f434e4516f7a7a477c9901 /lib/compiler/test | |
parent | 4830a4df5836ea97959bc43a589c053ac3c21a25 (diff) | |
download | otp-5806007cbbfb20d7c6538e330558b5364fb7551f.tar.gz otp-5806007cbbfb20d7c6538e330558b5364fb7551f.tar.bz2 otp-5806007cbbfb20d7c6538e330558b5364fb7551f.zip |
inline_SUITE: Make coverage/1 test cheaper
The sole purpose of inline_SUITE:coverage/1 is to ensure
that all lines are covered in sys_core_inline. Do that
in a cheaper way.
Diffstat (limited to 'lib/compiler/test')
-rw-r--r-- | lib/compiler/test/inline_SUITE.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/compiler/test/inline_SUITE.erl b/lib/compiler/test/inline_SUITE.erl index f700059d20..aff1a56c47 100644 --- a/lib/compiler/test/inline_SUITE.erl +++ b/lib/compiler/test/inline_SUITE.erl @@ -344,10 +344,8 @@ otp_7223_2({a}) -> 1. coverage(Config) when is_list(Config) -> - Mod = bsdecode, + Mod = attribute, Src = filename:join(proplists:get_value(data_dir, Config), Mod), {ok,Mod,_} = compile:file(Src, [binary,report,{inline,0}, clint,ssalint]), - {ok,Mod,_} = compile:file(Src, [binary,report,{inline,20}, - verbose,clint,ssalint]), ok. |