summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2023-01-02 17:47:30 +0100
committerDaniel Stenberg <daniel@haxx.se>2023-01-03 09:29:52 +0100
commit22f795c834cfdbacbb1b55426028a581e3cf67a8 (patch)
tree5789f89b8005c1a193fa227ccf9cc92818ef766c
parent2bc1d775f510196154283374284f98d3eae03544 (diff)
downloadcurl-22f795c834cfdbacbb1b55426028a581e3cf67a8.tar.gz
runtests: consider warnings fatal and error on them
To help us detect and fix warnings in this script easier and faster. Assisted-by: Jakob Hirsch Ref: #10206 Closes #10208
-rwxr-xr-xtests/runtests.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 7911b7678..67e42b77e 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -75,7 +75,8 @@ BEGIN {
}
use strict;
-use warnings;
+# Promote all warnings to fatal
+use warnings FATAL => 'all';
use Cwd;
use Digest::MD5 qw(md5);
use MIME::Base64;