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: run upstream tests for both curl-minimal and curl-full
Date: Tue, 03 Nov 2026 12:38:19 GMT [thread overview]
Message-ID: <179370949935.1.135709528069105682.rpms-curl-d4c5b54bf362@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.23.0-3
Commit : d4c5b54bf3629397059785612bf16cb2e63999c9
Author : Kamil Dudka <kdudka@redhat.com>
Date : 2021-10-04T09:55:13+02:00
Stats : +17/-8 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/d4c5b54bf3629397059785612bf16cb2e63999c9?branch=curl-v8.23.0-3
Log:
run upstream tests for both curl-minimal and curl-full
As we made libcurl-minimal more minimal, it differs more from
libcurl-full and it should be tested separately. On the other
hand, the test-suite for libcurl-minimal runs faster now because
more tests are skipped.
---
diff --git a/curl.spec b/curl.spec
index 0104012..58077a2 100644
--- a/curl.spec
+++ b/curl.spec
@@ -305,24 +305,33 @@ sed -e 's/^runpath_var=.*/runpath_var=/' \
%make_build V=1 -C build-full
%check
-# we have to override LD_LIBRARY_PATH because we eliminated rpath
-LD_LIBRARY_PATH="${PWD}/build-full/lib/.libs"
-export LD_LIBRARY_PATH
-
# compile upstream test-cases
-cd build-full/tests
-%make_build V=1
+%make_build V=1 -C build-minimal/tests
+%make_build V=1 -C build-full/tests
# relax crypto policy for the test-suite to make it pass again (#1610888)
export OPENSSL_SYSTEM_CIPHERS_OVERRIDE=XXX
export OPENSSL_CONF=
+# make runtests.pl work for out-of-tree builds
+export srcdir=../../tests
+
# prevent valgrind from being extremely slow (#1662656)
# https://fedoraproject.org/wiki/Changes/DebuginfodByDefault
unset DEBUGINFOD_URLS
-# run the upstream test-suite
-srcdir=../../tests perl -I../../tests ../../tests/runtests.pl -a -p -v '!flaky'
+# run the upstream test-suite for both curl-minimal and curl-full
+for size in minimal full; do (
+ cd build-${size}
+
+ # we have to override LD_LIBRARY_PATH because we eliminated rpath
+ export LD_LIBRARY_PATH="${PWD}/lib/.libs"
+
+ cd tests
+ perl -I../../tests ../../tests/runtests.pl -a -p -v '!flaky'
+)
+done
+
%install
# install and rename the library that will be packaged as libcurl-minimal
reply other threads:[~2026-11-03 12:38 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=179370949935.1.135709528069105682.rpms-curl-d4c5b54bf362@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