sqlite3/sqlite-src-3380100-atof1.patch

27 lines
569 B
Diff

Subject: Only run atof1.test on x86_64 machines.
Date: 2022-03-10 11:48:16
From: drh@
References: https://www3.sqlite.org/cgi/src/vinfo/4173819cd285a1c1?diff=1
Index: test/atof1.test
==================================================================
--- test/atof1.test
+++ test/atof1.test
@@ -16,10 +16,14 @@
source $testdir/tester.tcl
if {$::longdouble_size<=8} {
finish_test
return
+}
+if {$::tcl_platform(machine)!="x86_64"} {
+ finish_test
+ return
}
expr srand(1)
for {set i 1} {$i<20000} {incr i} {
set pow [expr {int((rand()-0.5)*100)}]