aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2019-02-14 07:42:21 +0100
committerBjörn Gustavsson <[email protected]>2019-02-15 10:37:41 +0100
commit827af9b07c11dedeb007559d6c596705f6e63f03 (patch)
tree3e3bc3d31276563793127e3f21aa72a89363a29c /lib/compiler/test
parente4d80d01f8c91d998502046b148ca049eb566cfd (diff)
downloadotp-827af9b07c11dedeb007559d6c596705f6e63f03.tar.gz
otp-827af9b07c11dedeb007559d6c596705f6e63f03.tar.bz2
otp-827af9b07c11dedeb007559d6c596705f6e63f03.zip
Cover erl_bifs.erl
Diffstat (limited to 'lib/compiler/test')
-rw-r--r--lib/compiler/test/bif_SUITE.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/compiler/test/bif_SUITE.erl b/lib/compiler/test/bif_SUITE.erl
index 42ba5d5365..423a7666af 100644
--- a/lib/compiler/test/bif_SUITE.erl
+++ b/lib/compiler/test/bif_SUITE.erl
@@ -23,7 +23,7 @@
-export([all/0,suite/0,groups/0,init_per_suite/1,end_per_suite/1,
init_per_group/2,end_per_group/2,
- beam_validator/1,trunc_and_friends/1,cover_safe_bifs/1]).
+ beam_validator/1,trunc_and_friends/1,cover_safe_and_pure_bifs/1]).
suite() ->
[{ct_hooks,[ts_install_cth]}].
@@ -35,7 +35,7 @@ groups() ->
[{p,[parallel],
[beam_validator,
trunc_and_friends,
- cover_safe_bifs
+ cover_safe_and_pure_bifs
]}].
init_per_suite(Config) ->
@@ -106,7 +106,7 @@ trunc_template(Func, Bif) ->
catch error:badarg -> ok end,
ok.").
-cover_safe_bifs(Config) ->
+cover_safe_and_pure_bifs(Config) ->
_ = get(),
_ = get_keys(a),
_ = group_leader(),
@@ -118,5 +118,6 @@ cover_safe_bifs(Config) ->
_ = processes(),
_ = registered(),
_ = term_to_binary(Config),
+ 42 = list_to_integer("2A", 16),
ok.