public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Petr Khartskhaev <pkhartsk@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/sqlite] rawhide: Remove testrunner patch and fix waliter test on ppc
Date: Tue, 20 Oct 2026 08:36:40 GMT [thread overview]
Message-ID: <179248540080.1.11914768628521454015.rpms-sqlite-25b716195ef4@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/sqlite
Branch : rawhide
Commit : 25b716195ef4974ddc5548f1ed2787a237a29802
Author : Petr Khartskhaev <pkhartsk@redhat.com>
Date : 2026-10-19T17:24:05+02:00
Stats : +27/-16 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/sqlite/c/25b716195ef4974ddc5548f1ed2787a237a29802?branch=rawhide
Log:
Remove testrunner patch and fix waliter test on ppc
No longer needed as upstream fixed the testrunner
The waliter test fails on ppc due to it having 64KiB
pages so I added a condition in a patch.
Reported upstream here: https://sqlite.org/forum/forumpost/66d7ea4444
---
diff --git a/sqlite-3.53.0-fix-testrunner-exiting-0.patch b/sqlite-3.53.0-fix-testrunner-exiting-0.patch
deleted file mode 100644
index 648b5d4..0000000
--- a/sqlite-3.53.0-fix-testrunner-exiting-0.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-testrunner.tcl exits with code 0 even if tests fail
-reported upstream https://sqlite.org/forum/info/cfa5101805883158
-diff --git a/test/testrunner.tcl b/test/testrunner.tcl
-index 62dce8e..035e137 100755
---- a/test/testrunner.tcl
-+++ b/test/testrunner.tcl
-@@ -1877,6 +1877,7 @@ proc run_testset {} {
- trdb eval {
- SELECT DISTINCT substr(svers,1,79) as v1 FROM jobs WHERE svers IS NOT NULL
- } {puts $v1}
-+ if {$totalerr>0} {exit 1}
-
- }
-
diff --git a/sqlite-3.54.1-fix-ppc64le-waliter-test.patch b/sqlite-3.54.1-fix-ppc64le-waliter-test.patch
new file mode 100644
index 0000000..6d480a1
--- /dev/null
+++ b/sqlite-3.54.1-fix-ppc64le-waliter-test.patch
@@ -0,0 +1,25 @@
+diff --git a/test/waliter.test b/test/waliter.test
+index 9b5af87..7d7b179 100644
+--- a/test/waliter.test
++++ b/test/waliter.test
+@@ -65,9 +65,17 @@ do_execsql_test 1.1 {
+ UPDATE t1 SET b = randomblob(900);
+ } {0}
+
+-do_test 1.2 {
+- file size test.db-shm
+-} [expr 32768 * 3]
++if {$tcl_platform(machine)=="ppc64le"} {
++ # ppc64le on fedora uses 64KiB pages,
++ # so the minimum size is 2x that
++ do_test 1.2 {
++ file size test.db-shm
++ } [expr 65536 * 2]
++} else {
++ do_test 1.2 {
++ file size test.db-shm
++ } [expr 32768 * 3]
++}
+
+ do_execsql_test 1.3 {
+ PRAGMA wal_checkpoint
diff --git a/sqlite.spec b/sqlite.spec
index 68ffaaa..3212bc0 100644
--- a/sqlite.spec
+++ b/sqlite.spec
@@ -22,8 +22,8 @@ Source1: http://www.sqlite.org/%{year}/sqlite-doc-%{docver}.zip
# Support a system-wide lemon template
Patch1: sqlite-3.6.23-lemon-system-template.patch
Patch2: sqlite-3.49.0-fix-lemon-missing-cflags.patch
-Patch3: sqlite-3.53.0-fix-testrunner-exiting-0.patch
-Patch4: sqlite-3.53.3-fix-fts3corrupt4-test.patch
+Patch3: sqlite-3.53.3-fix-fts3corrupt4-test.patch
+Patch4: sqlite-3.54.1-fix-ppc64le-waliter-test.patch
BuildRequires: make
BuildRequires: gcc gcc-c++
reply other threads:[~2026-10-20 8:36 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=179248540080.1.11914768628521454015.rpms-sqlite-25b716195ef4@fedoraproject.org \
--to=pkhartsk@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