diff options
author | Björn Gustavsson <[email protected]> | 2016-12-02 12:59:33 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-12-02 12:59:33 +0100 |
commit | d54c12c305425f6126e0fab0b024560df72efb27 (patch) | |
tree | 3af7942ab96fc8c9713554ba9eadf8ec658a2dc9 /lib/stdlib/test/qlc_SUITE.erl | |
parent | 27608cfe95d155e56b0cc7503bf910e9b23cd225 (diff) | |
parent | 13838af02bc54db57264c4f198bc819809d65481 (diff) | |
download | otp-d54c12c305425f6126e0fab0b024560df72efb27.tar.gz otp-d54c12c305425f6126e0fab0b024560df72efb27.tar.bz2 otp-d54c12c305425f6126e0fab0b024560df72efb27.zip |
Merge branch 'richcarl/default-compiler-flags/PR-1226/OTP-14071'
* richcarl/default-compiler-flags/PR-1226/OTP-14071:
stdlib test suite: fix uses of export_all
diameter tests: Eliminate use of -compile(export_all)
asn1 test suite: Suppress warnings for -compile(export_all)
Remove left-over uses of -compile(export_all)
Make warn_export_all the default
warn_obsolete_guard is already default
Diffstat (limited to 'lib/stdlib/test/qlc_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/qlc_SUITE.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/stdlib/test/qlc_SUITE.erl b/lib/stdlib/test/qlc_SUITE.erl index 8c7d5a5fcf..c08e138ad3 100644 --- a/lib/stdlib/test/qlc_SUITE.erl +++ b/lib/stdlib/test/qlc_SUITE.erl @@ -7936,7 +7936,6 @@ compile(Config, Tests, Fun) -> compile_file(Config, Test0, Opts0) -> {File, Mod} = compile_file_mod(Config), Test = list_to_binary(["-module(", atom_to_list(Mod), "). " - "-compile(export_all). " "-import(qlc_SUITE, [i/1,i/2,format_info/2]). " "-import(qlc_SUITE, [etsc/2, etsc/3]). " "-import(qlc_SUITE, [create_ets/2]). " @@ -7946,7 +7945,7 @@ compile_file(Config, Test0, Opts0) -> "-import(qlc_SUITE, [lookup_keys/1]). " "-include_lib(\"stdlib/include/qlc.hrl\"). ", Test0]), - Opts = [export_all,return,nowarn_unused_record,{outdir,?privdir}|Opts0], + Opts = [export_all,nowarn_export_all,return,nowarn_unused_record,{outdir,?privdir}|Opts0], ok = file:write_file(File, Test), case compile:file(File, Opts) of {ok, _M, Ws} -> warnings(File, Ws); |