Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: third_party/sqlite/src/ext/rtree/rtree2.test

Issue 6990047: Import SQLite 3.7.6.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # 2008 Feb 19 1 # 2008 Feb 19
2 # 2 #
3 # The author disclaims copyright to this source code. In place of 3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing: 4 # a legal notice, here is a blessing:
5 # 5 #
6 # May you do good and not evil. 6 # May you do good and not evil.
7 # May you find forgiveness for yourself and forgive others. 7 # May you find forgiveness for yourself and forgive others.
8 # May you share freely, never taking more than you give. 8 # May you share freely, never taking more than you give.
9 # 9 #
10 #*********************************************************************** 10 #***********************************************************************
11 # 11 #
12 # The focus of this file is testing the r-tree extension. 12 # The focus of this file is testing the r-tree extension.
13 # 13 #
14 # $Id: rtree2.test,v 1.4 2008/07/14 15:37:01 danielk1977 Exp $
15 #
16 14
17 if {![info exists testdir]} { 15 if {![info exists testdir]} {
18 set testdir [file join [file dirname $argv0] .. .. test] 16 set testdir [file join [file dirname [info script]] .. .. test]
19 } 17 }
20 source [file join [file dirname [info script]] rtree_util.tcl] 18 source [file join [file dirname [info script]] rtree_util.tcl]
21 source $testdir/tester.tcl 19 source $testdir/tester.tcl
22 20
23 ifcapable !rtree { 21 ifcapable !rtree {
24 finish_test 22 finish_test
25 return 23 return
26 } 24 }
27 25
28 set ::NROW 1000 26 set ::NROW 1000
29 set ::NDEL 10 27 set ::NDEL 10
30 set ::NSELECT 100 28 set ::NSELECT 100
31 29
32 if {[info exists ISQUICK] && $ISQUICK} { 30 if {[info exists G(isquick)] && $G(isquick)} {
33 set ::NROW 100 31 set ::NROW 100
34 set ::NSELECT 10 32 set ::NSELECT 10
35 } 33 }
36 34
37 foreach module {rtree_i32 rtree} { 35 foreach module {rtree_i32 rtree} {
38 for {set nDim 1} {$nDim <= 5} {incr nDim} { 36 for {set nDim 1} {$nDim <= 5} {incr nDim} {
39 37
40 do_test rtree2-$module.$nDim.1 { 38 do_test rtree2-$module.$nDim.1 {
41 set cols [list] 39 set cols [list]
42 foreach c [list c0 c1 c2 c3 c4 c5 c6 c7 c8 c9] { 40 foreach c [list c0 c1 c2 c3 c4 c5 c6 c7 c8 c9] {
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 do_test rtree2-$module.$nDim.6 { 141 do_test rtree2-$module.$nDim.6 {
144 execsql { 142 execsql {
145 DROP TABLE t1; 143 DROP TABLE t1;
146 DROP TABLE t2; 144 DROP TABLE t2;
147 } 145 }
148 } {} 146 } {}
149 } 147 }
150 } 148 }
151 149
152 finish_test 150 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/ext/rtree/rtree1.test ('k') | third_party/sqlite/src/ext/rtree/rtree3.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698