aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/test/xref_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-08-18 11:50:30 +0200
committerBjörn Gustavsson <[email protected]>2016-09-01 15:16:03 +0200
commitdb159faace6e8525e7883a7cb60eb57275d66924 (patch)
treea257a2c40090890fd32100bbe0a2cf5e3ba57ec5 /lib/tools/test/xref_SUITE.erl
parent3db1a9683b05079f8adca4a0621b2a4f336ae7c9 (diff)
downloadotp-db159faace6e8525e7883a7cb60eb57275d66924.tar.gz
otp-db159faace6e8525e7883a7cb60eb57275d66924.tar.bz2
otp-db159faace6e8525e7883a7cb60eb57275d66924.zip
xref: Eliminate use of sys_pre_expand
Diffstat (limited to 'lib/tools/test/xref_SUITE.erl')
-rw-r--r--lib/tools/test/xref_SUITE.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/tools/test/xref_SUITE.erl b/lib/tools/test/xref_SUITE.erl
index 01dbac6ecb..f308ea1204 100644
--- a/lib/tools/test/xref_SUITE.erl
+++ b/lib/tools/test/xref_SUITE.erl
@@ -1222,6 +1222,9 @@ read2(Conf) when is_list(Conf) ->
f() ->
%% Duplicated unresolved calls are ignored:
(f())(foo,bar),(f())(foo,bar). % POS1
+
+ %% Warning forms must be ignored.
+ -warning(must_not_crash).
">>,
ok = file:write_file(File, Test),
{ok, read2} = compile:file(File, [debug_info,{outdir,Dir}]),