do not fail on warnings in the upstream test driver
This commit is contained in:
parent
98c91c9f34
commit
f3c2fe3549
30
0104-curl-7.88.0-tests-warnings.patch
Normal file
30
0104-curl-7.88.0-tests-warnings.patch
Normal file
@ -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
|
||||||
|
|
@ -19,6 +19,9 @@ Patch102: 0102-curl-7.84.0-test3026.patch
|
|||||||
# test3012: temporarily disable valgrind (#2143040)
|
# test3012: temporarily disable valgrind (#2143040)
|
||||||
Patch103: 0103-curl-7.87.0-test3012.patch
|
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: curl-full = %{version}-%{release}
|
||||||
Provides: webclient
|
Provides: webclient
|
||||||
URL: https://curl.se/
|
URL: https://curl.se/
|
||||||
@ -202,6 +205,7 @@ be installed.
|
|||||||
%patch101 -p1
|
%patch101 -p1
|
||||||
%patch102 -p1
|
%patch102 -p1
|
||||||
%patch103 -p1
|
%patch103 -p1
|
||||||
|
%patch104 -p1
|
||||||
|
|
||||||
# disable test 1112 (#565305), test 1455 (occasionally fails with 'bind failed
|
# disable test 1112 (#565305), test 1455 (occasionally fails with 'bind failed
|
||||||
# with errno 98: Address already in use' in Koji environment), and test 1801
|
# with errno 98: Address already in use' in Koji environment), and test 1801
|
||||||
|
Loading…
Reference in New Issue
Block a user