diff options
author | Tuncer Ayaz <[email protected]> | 2011-08-02 17:48:28 +0200 |
---|---|---|
committer | Tuncer Ayaz <[email protected]> | 2011-09-08 14:02:17 +0200 |
commit | 25f32f4683d0692afeda4b0cbf03a1c67f2f25ab (patch) | |
tree | 8b1b2d82a009c352cbaec3b4eab5061259d71824 /erts/test/erlc_SUITE.erl | |
parent | a6b46d18e04c23cf8f7798ebc4ef34e4e03eb04e (diff) | |
download | otp-25f32f4683d0692afeda4b0cbf03a1c67f2f25ab.tar.gz otp-25f32f4683d0692afeda4b0cbf03a1c67f2f25ab.tar.bz2 otp-25f32f4683d0692afeda4b0cbf03a1c67f2f25ab.zip |
compile: log warnings as errors if -Werror is enabled
Diffstat (limited to 'erts/test/erlc_SUITE.erl')
-rw-r--r-- | erts/test/erlc_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/test/erlc_SUITE.erl b/erts/test/erlc_SUITE.erl index 62e0e6813d..01e59dda92 100644 --- a/erts/test/erlc_SUITE.erl +++ b/erts/test/erlc_SUITE.erl @@ -79,7 +79,7 @@ compile_erl(Config) when is_list(Config) -> ?line run(Config, Cmd, FileName, "-Werror", ["compile: warnings being treated as errors\$", - "Warning: function foo/0 is unused\$", + "function foo/0 is unused\$", "_ERROR_"]), %% Check a bad file. |