]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
runtests: consider warnings fatal and error on them
authorDaniel Stenberg <daniel@haxx.se>
Mon, 2 Jan 2023 16:47:30 +0000 (17:47 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 3 Jan 2023 08:29:52 +0000 (09:29 +0100)
To help us detect and fix warnings in this script easier and faster.

Assisted-by: Jakob Hirsch
Ref: #10206
Closes #10208

tests/runtests.pl

index 7911b767805e23552f79d2d305cdec368db36500..67e42b77e44b65f1d0ccd007d815f30be20ddfd6 100755 (executable)
@@ -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;