Disable tests date-2.2c on i686, enable trace3 on arm
This commit is contained in:
parent
5b249a67f3
commit
b1ebe486e9
14
sqlite-3.16-datetest-2.2c.patch
Normal file
14
sqlite-3.16-datetest-2.2c.patch
Normal file
@ -0,0 +1,14 @@
|
||||
--- sqlite-src-3160100/test/date.test.orig 2017-01-04 14:48:46.113737093 +0100
|
||||
+++ sqlite-src-3160100/test/date.test 2017-01-04 14:49:11.144833563 +0100
|
||||
@@ -76,11 +76,6 @@ datetest 2.1c datetime(0,'unixepochx') N
|
||||
datetest 2.1d datetime('2003-10-22','unixepoch') NULL
|
||||
datetest 2.2 datetime(946684800,'unixepoch') {2000-01-01 00:00:00}
|
||||
datetest 2.2b datetime('946684800','unixepoch') {2000-01-01 00:00:00}
|
||||
-for {set i 0} {$i<1000} {incr i} {
|
||||
- set sql [format {strftime('%%H:%%M:%%f',1237962480.%03d,'unixepoch')} $i]
|
||||
- set res [format {06:28:00.%03d} $i]
|
||||
- datetest 2.2c-$i $sql $res
|
||||
-}
|
||||
datetest 2.3 {date('2003-10-22','weekday 0')} 2003-10-26
|
||||
datetest 2.4 {date('2003-10-22','weekday 1')} 2003-10-27
|
||||
datetest 2.4a {date('2003-10-22','weekday 1')} 2003-10-27
|
@ -30,6 +30,8 @@ Patch3: sqlite-3.12.2-no-malloc-usable-size.patch
|
||||
Patch4: sqlite-3.8.0-percentile-test.patch
|
||||
# Disable test failing due to tcl regression. Details in patch file.
|
||||
Patch6: sqlite-3.8.10.1-tcl-regress-tests.patch
|
||||
# Disable test date-2.2c on i686
|
||||
Patch7: sqlite-3.16-datetest-2.2c.patch
|
||||
|
||||
BuildRequires: ncurses-devel readline-devel glibc-devel
|
||||
BuildRequires: autoconf
|
||||
@ -129,6 +131,9 @@ This package contains the analysis program for %{name}.
|
||||
%patch3 -p1 -b .no-malloc-usable-size
|
||||
%patch4 -p1 -b .nonprecise-percentile-test
|
||||
%patch6 -p1 -b .tcl-regress
|
||||
%ifarch %{ix86}
|
||||
%patch7 -p1 -b .datetest-2.2c
|
||||
%endif
|
||||
|
||||
autoconf # Rerun with new autoconf to add support for aarm64
|
||||
|
||||
@ -191,10 +196,6 @@ rm test/csv01.test
|
||||
rm test/fts3conf.test
|
||||
%endif
|
||||
|
||||
%ifarch armv7hl
|
||||
rm test/trace3.test
|
||||
%endif
|
||||
|
||||
make test
|
||||
%endif # with check
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user