diff options
author | Daniel Stenberg <daniel@haxx.se> | 2023-01-02 17:47:30 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-01-03 09:29:52 +0100 |
commit | 22f795c834cfdbacbb1b55426028a581e3cf67a8 (patch) | |
tree | 5789f89b8005c1a193fa227ccf9cc92818ef766c | |
parent | 2bc1d775f510196154283374284f98d3eae03544 (diff) | |
download | curl-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-x | tests/runtests.pl | 3 |
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; |