aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/beam_disasm_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-02-25 16:12:09 +0100
committerBjörn Gustavsson <[email protected]>2016-02-25 17:08:34 +0100
commitfc3c64711400be9eae653350213630cb8cb257f9 (patch)
tree5879360d9d690c10231f73ecc347e58c70d8628e /lib/compiler/test/beam_disasm_SUITE.erl
parentbf4ae9bb9cc0b4ae53447aa4a7cd25add5d3a7a4 (diff)
downloadotp-fc3c64711400be9eae653350213630cb8cb257f9.tar.gz
otp-fc3c64711400be9eae653350213630cb8cb257f9.tar.bz2
otp-fc3c64711400be9eae653350213630cb8cb257f9.zip
Remove ?line macros
Diffstat (limited to 'lib/compiler/test/beam_disasm_SUITE.erl')
-rw-r--r--lib/compiler/test/beam_disasm_SUITE.erl18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/compiler/test/beam_disasm_SUITE.erl b/lib/compiler/test/beam_disasm_SUITE.erl
index 2452b771ff..90598d9639 100644
--- a/lib/compiler/test/beam_disasm_SUITE.erl
+++ b/lib/compiler/test/beam_disasm_SUITE.erl
@@ -49,17 +49,17 @@ end_per_group(_GroupName, Config) ->
%% Check that stripped beam files can be disassembled.
stripped(Config) when is_list(Config) ->
PrivDir = proplists:get_value(priv_dir, Config),
- ?line SrcName = filename:join(PrivDir, "tmp.erl"),
- ?line BeamName = filename:join(PrivDir, "tmp.beam"),
+ SrcName = filename:join(PrivDir, "tmp.erl"),
+ BeamName = filename:join(PrivDir, "tmp.beam"),
Prog = <<"-module(tmp).\n-export([tmp/0]).\ntmp()->ok.\n">>,
- ?line ok = file:write_file(SrcName, Prog),
- ?line {ok, tmp} =
+ ok = file:write_file(SrcName, Prog),
+ {ok, tmp} =
compile:file(SrcName, [{outdir, PrivDir}]),
- ?line {beam_file, tmp, _, Attr, CompileInfo, [_|_]} =
+ {beam_file, tmp, _, Attr, CompileInfo, [_|_]} =
beam_disasm:file(BeamName),
- ?line true = is_list(Attr),
- ?line true = is_list(CompileInfo),
- ?line {ok, {tmp, _}} = beam_lib:strip(BeamName),
- ?line {beam_file, tmp, _, [], [], [_|_]} =
+ true = is_list(Attr),
+ true = is_list(CompileInfo),
+ {ok, {tmp, _}} = beam_lib:strip(BeamName),
+ {beam_file, tmp, _, [], [], [_|_]} =
beam_disasm:file(BeamName),
ok.