aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_test_lib.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-03-11 15:14:32 +0100
committerBjörn Gustavsson <[email protected]>2013-05-31 14:52:19 +0200
commit66cc5110814e74d602f6bda65e8388babc3982a3 (patch)
tree58f8ede5cf3d73ffdc2e3418d168d43053df2c07 /lib/asn1/test/asn1_test_lib.erl
parentde6152b91af13a07c67280125aebe9dad4dd9f74 (diff)
downloadotp-66cc5110814e74d602f6bda65e8388babc3982a3.tar.gz
otp-66cc5110814e74d602f6bda65e8388babc3982a3.tar.bz2
otp-66cc5110814e74d602f6bda65e8388babc3982a3.zip
When testing, don't tolerate warnings from the BEAM compiler
Diffstat (limited to 'lib/asn1/test/asn1_test_lib.erl')
-rw-r--r--lib/asn1/test/asn1_test_lib.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asn1/test/asn1_test_lib.erl b/lib/asn1/test/asn1_test_lib.erl
index fc237da868..b839dfcf2a 100644
--- a/lib/asn1/test/asn1_test_lib.erl
+++ b/lib/asn1/test/asn1_test_lib.erl
@@ -39,7 +39,7 @@ compile_all(Files, Config, Options) ->
compile_file(File, Options) ->
try
- ok = asn1ct:compile(File, Options),
+ ok = asn1ct:compile(File, [warnings_as_errors|Options]),
case should_load(File, Options) of
false ->
ok;