remove patch3 - temporary disabling percentile test

The test no longer fails on i686 in rawhide
This commit is contained in:
Zuzana Miklankova 2023-07-13 10:13:29 +02:00
parent 1a12e88f50
commit 54405b5d66
No known key found for this signature in database
GPG Key ID: 46A18EF4D17103A0
2 changed files with 4 additions and 19 deletions

View File

@ -1,15 +0,0 @@
# On i686 arch the removed test fails with result 2749999.50004681 instead of expected
# 2749999.5. This patch is temporary workaround and should be dropped as soon as a valid
# fix is found.
diff -up sqlite-src-3080002/test/percentile.test.broken sqlite-src-3080002/test/percentile.test
--- sqlite-src-3080002/test/percentile.test.broken 2013-09-16 13:19:53.406004041 +0200
+++ sqlite-src-3080002/test/percentile.test 2013-09-16 13:20:00.079024945 +0200
@@ -195,7 +195,6 @@ ifcapable vtab {
foreach {in out} {
0 0.0
100 9999990.0
- 50 2749999.5
10 99999.9
} {
do_test percentile-2.1.$in {

View File

@ -12,7 +12,7 @@
Summary: Library that implements an embeddable SQL database engine
Name: sqlite
Version: %{rpmver}
Release: 3%{?dist}
Release: 4%{?dist}
License: blessing
URL: http://www.sqlite.org/
@ -21,8 +21,6 @@ Source1: http://www.sqlite.org/%{year}/sqlite-doc-%{docver}.zip
Source2: http://www.sqlite.org/%{year}/sqlite-autoconf-%{realver}.tar.gz
# Support a system-wide lemon template
Patch1: sqlite-3.6.23-lemon-system-template.patch
# Temporary workaround for failed percentile test, see patch for details
Patch3: sqlite-3.8.0-percentile-test.patch
# Disable test date-2.2c on i686
Patch4: sqlite-3.16-datetest-2.2c.patch
# Modify sync2.test to pass with DIRSYNC turned off
@ -130,7 +128,6 @@ This package contains the analysis program for %{name}.
%prep
%setup -q -a1 -n %{name}-src-%{realver}
%patch -P 1 -p1
%patch -P 3 -p1
%ifarch %{ix86}
%patch -P 4 -p1
%endif
@ -266,6 +263,9 @@ make test
%endif
%changelog
* Thu Jul 13 2023 Zuzana Miklankova <zmiklank@redhat.com> - 3.42.0-4
- remove patch3 - temporary workaround for percentile test
* Thu Jul 13 2023 Zuzana Miklankova <zmiklank@redhat.com> - 3.42.0-3
- remove patch2 - no-malloc-usable-size, #801981