Skip to content

Commit

Permalink
DEBUG: Print the name of compiled files
Browse files Browse the repository at this point in the history
  • Loading branch information
frej committed Aug 1, 2024
1 parent 902574c commit f330d3f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/compiler/test/compilation_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -371,10 +371,14 @@ compile_compiler(Files, OutDir, Version, InlineOpts) ->
{d,'COMPILER_VSN',"\""++Version++"\""},
nowarn_shadow_vars,
{i,filename:join(code:lib_dir(stdlib), "include")}|InlineOpts],
lists:foreach(fun(F) ->
ct:pal(?HI_IMPORTANCE, "!! trying to print ~p~n", [F]),
ct:pal(?HI_IMPORTANCE, "!! will compile ~ts~n", [F])
end, Files),
test_lib:p_run(fun(File) ->
case compile:file(File, Opts) of
{ok,_} -> ok;
_ -> error
error -> error
end
end, Files).

Expand Down

0 comments on commit f330d3f

Please sign in to comment.