public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.23.0-3: use default port numbers when running the upstream test-suite
@ 2026-11-03 12:35 Kamil Dudka
0 siblings, 0 replies; only message in thread
From: Kamil Dudka @ 2026-11-03 12:35 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-03 12:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 12:35 [rpms/curl] curl-v8.23.0-3: use default port numbers when running the upstream test-suite Kamil Dudka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox