aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/test_lib.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-02-05 09:50:35 +0100
committerBjörn Gustavsson <[email protected]>2015-02-05 09:50:35 +0100
commitca8b78e997aef12f6e6c883c68db2ffef5986ae5 (patch)
treee748953159acd8737ea883c5e5449f374d416577 /lib/compiler/test/test_lib.erl
parent9d99c5fde589a98af4b173f816f648716b3127b8 (diff)
parent4babd738633953a09ce3314ed89d0933063b4ef7 (diff)
downloadotp-ca8b78e997aef12f6e6c883c68db2ffef5986ae5.tar.gz
otp-ca8b78e997aef12f6e6c883c68db2ffef5986ae5.tar.bz2
otp-ca8b78e997aef12f6e6c883c68db2ffef5986ae5.zip
Merge branch 'bjorn/compiler/dup-bug-fix/OTP-12453'
* bjorn/compiler/dup-bug-fix/OTP-12453: Teach case_opt/3 to avoid unnecessary building sys_core_fold: Optimize let statements more aggressively Suppress warnings for expressions that are assigned to '_' trace_bif_SUITE: Ensure that a call to time/0 is not removed
Diffstat (limited to 'lib/compiler/test/test_lib.erl')
-rw-r--r--lib/compiler/test/test_lib.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/compiler/test/test_lib.erl b/lib/compiler/test/test_lib.erl
index e06e42276a..e8f469c5b4 100644
--- a/lib/compiler/test/test_lib.erl
+++ b/lib/compiler/test/test_lib.erl
@@ -20,9 +20,11 @@
-include("test_server.hrl").
-compile({no_auto_import,[binary_part/2]}).
--export([recompile/1,parallel/0,uniq/0,opt_opts/1,get_data_dir/1,
+-export([id/1,recompile/1,parallel/0,uniq/0,opt_opts/1,get_data_dir/1,
smoke_disasm/1,p_run/2,binary_part/2]).
+id(I) -> I.
+
recompile(Mod) when is_atom(Mod) ->
case whereis(cover_server) of
undefined -> ok;