public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kamil Dudka <kdudka@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.23.0-3: use default port numbers when running the upstream test-suite
Date: Tue, 03 Nov 2026 12:35:55 GMT [thread overview]
Message-ID: <179370935517.1.4650585703262830402.rpms-curl-7ee26673d3f4@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.23.0-3
Commit : 7ee26673d3f4388fe0df5129529b0d2b7f3d9825
Author : Kamil Dudka <kdudka@redhat.com>
Date : 2015-12-02T13:17:27+01:00
Stats : +6/-15 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/7ee26673d3f4388fe0df5129529b0d2b7f3d9825?branch=curl-v8.23.0-3
Log:
use default port numbers when running the upstream test-suite
---
diff --git a/curl.spec b/curl.spec
index 97f3cbe..f8b4d58 100644
--- a/curl.spec
+++ b/curl.spec
@@ -128,13 +128,6 @@ documentation of the library, too.
%patch104 -p1
%patch107 -p1
-# replace hard wired port numbers in the test suite (this only boosts test
-# coverage by enabling tests that would otherwise be disabled due to using
-# runtests.pl -b)
-cd tests/data/
-sed -i s/899\\\([0-9]\\\)/%{?__isa_bits}9\\1/ test{309,1028,1055,1056}
-cd -
-
# disable test 1112 (#565305) and test 1801
# <https://github.com/bagder/curl/commit/21e82bd6#commitcomment-12226582>
printf "1112\n1801\n" >> tests/data/DISABLED
@@ -170,19 +163,16 @@ sed -i \
make %{?_smp_mflags}
%check
-LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
+# we have to override LD_LIBRARY_PATH because we eliminated rpath
+LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
-# uncomment to use the non-stripped library in tests
-# LD_PRELOAD=`find -name \*.so`
-# LD_PRELOAD=`readlink -f $LD_PRELOAD`
-
+# compile upstream test-cases
cd tests
make %{?_smp_mflags}
-# use different port range for 32bit and 64bit build, thus make it possible
-# to run both in parallel on the same machine
-./runtests.pl -a -b%{?__isa_bits}90 -p -v '!flaky'
+# run the upstream test-suite
+./runtests.pl -a -p -v '!flaky'
%install
rm -rf $RPM_BUILD_ROOT
@@ -239,6 +229,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Dec 2 2015 Kamil Dudka <kdudka@redhat.com> 7.46.0-1
+- use default port numbers when running the upstream test-suite
- install zsh completion script
- new upstream release
reply other threads:[~2026-11-03 12:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179370935517.1.4650585703262830402.rpms-curl-7ee26673d3f4@fedoraproject.org \
--to=kdudka@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox