public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.21.0-9: do not fail on warnings in the upstream test driver
@ 2026-11-02 14:31 Kamil Dudka
  0 siblings, 0 replies; only message in thread
From: Kamil Dudka @ 2026-11-02 14:31 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/curl
Branch : curl-v8.21.0-9
Commit : f3c2fe3549a681755a71e827de1de4085fd1c343
Author : Kamil Dudka <kdudka@redhat.com>
Date   : 2023-02-15T10:46:00+01:00
Stats  : +34/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/f3c2fe3549a681755a71e827de1de4085fd1c343?branch=curl-v8.21.0-9

Log:
do not fail on warnings in the upstream test driver

---
diff --git a/0104-curl-7.88.0-tests-warnings.patch b/0104-curl-7.88.0-tests-warnings.patch
new file mode 100644
index 0000000..dff89f9
--- /dev/null
+++ b/0104-curl-7.88.0-tests-warnings.patch
@@ -0,0 +1,30 @@
+From d506d885aa16b4a87acbac082eea41dccdc7b69f Mon Sep 17 00:00:00 2001
+From: Kamil Dudka <kdudka@redhat.com>
+Date: Wed, 15 Feb 2023 10:42:38 +0100
+Subject: [PATCH] Revert "runtests: consider warnings fatal and error on them"
+
+While it might be useful for upstream developers, it is not so useful
+for downstream consumers.
+
+This reverts upstream commit 22f795c834cfdbacbb1b55426028a581e3cf67a8.
+---
+ tests/runtests.pl | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/tests/runtests.pl b/tests/runtests.pl
+index 71644ad18..0cf85c3fe 100755
+--- a/tests/runtests.pl
++++ b/tests/runtests.pl
+@@ -75,8 +75,7 @@ BEGIN {
+ }
+ 
+ use strict;
+-# Promote all warnings to fatal
+-use warnings FATAL => 'all';
++use warnings;
+ use Cwd;
+ use Digest::MD5 qw(md5);
+ use MIME::Base64;
+-- 
+2.39.1
+

diff --git a/curl.spec b/curl.spec
index 7207a18..7d58071 100644
--- a/curl.spec
+++ b/curl.spec
@@ -19,6 +19,9 @@ Patch102: 0102-curl-7.84.0-test3026.patch
 # test3012: temporarily disable valgrind (#2143040)
 Patch103: 0103-curl-7.87.0-test3012.patch
 
+# do not fail on warnings in the upstream test driver
+Patch104: 0104-curl-7.88.0-tests-warnings.patch
+
 Provides: curl-full = %{version}-%{release}
 Provides: webclient
 URL: https://curl.se/
@@ -202,6 +205,7 @@ be installed.
 %patch101 -p1
 %patch102 -p1
 %patch103 -p1
+%patch104 -p1
 
 # disable test 1112 (#565305), test 1455 (occasionally fails with 'bind failed
 # with errno 98: Address already in use' in Koji environment), and test 1801

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-02 14:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 14:31 [rpms/curl] curl-v8.21.0-9: do not fail on warnings in the upstream test driver Kamil Dudka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox