diff options
author | Richard Carlsson <[email protected]> | 2016-11-30 10:34:59 +0100 |
---|---|---|
committer | Richard Carlsson <[email protected]> | 2016-11-30 12:08:41 +0100 |
commit | 13838af02bc54db57264c4f198bc819809d65481 (patch) | |
tree | 5e4f693ebeedb198ca08f01aa9e1d2da6ac50c06 /lib/stdlib/test/shell_SUITE.erl | |
parent | 980b5f85e18a8140a319a9bdadc71c634db54d22 (diff) | |
download | otp-13838af02bc54db57264c4f198bc819809d65481.tar.gz otp-13838af02bc54db57264c4f198bc819809d65481.tar.bz2 otp-13838af02bc54db57264c4f198bc819809d65481.zip |
stdlib test suite: fix uses of export_all
Diffstat (limited to 'lib/stdlib/test/shell_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/shell_SUITE.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/stdlib/test/shell_SUITE.erl b/lib/stdlib/test/shell_SUITE.erl index 07eb6772db..56d81eb1f2 100644 --- a/lib/stdlib/test/shell_SUITE.erl +++ b/lib/stdlib/test/shell_SUITE.erl @@ -1794,7 +1794,7 @@ Test1_shell = Test2 = <<"-module(recs). -record(person, {name, age, phone = [], dict = []}). --compile(export_all). +-export([t/0]). t() -> ok. @@ -1961,7 +1961,7 @@ ok. progex_funs(Config) when is_list(Config) -> Test1 = <<"-module(funs). - -compile(export_all). + -export([t/0]). double([H|T]) -> [2*H|double(T)]; double([]) -> []. @@ -3031,7 +3031,7 @@ run_file(Config, Module, Test) -> ok. compile_file(Config, File, Test, Opts0) -> - Opts = [export_all,return,{outdir,proplists:get_value(priv_dir, Config)}|Opts0], + Opts = [export_all,nowarn_export_all,return,{outdir,proplists:get_value(priv_dir, Config)}|Opts0], ok = file:write_file(File, Test), case compile:file(File, Opts) of {ok, _M, _Ws} -> ok; |