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

Side by Side Diff: third_party/sqlite/src/test/fts.test

Issue 6823057: Cleanup SQLite 3.6.18 import. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 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
« no previous file with comments | « third_party/sqlite/src/src/util.c ('k') | third_party/sqlite/src/test/fts1.test » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #
2 # May you do good and not evil.
3 # May you find forgiveness for yourself and forgive others.
4 # May you share freely, never taking more than you give.
5 #
6 #***********************************************************************
7 # This file runs the fts tests.
8 #
9 # $Id$
10
11 proc lshift {lvar} {
12 upvar $lvar l
13 set ret [lindex $l 0]
14 set l [lrange $l 1 end]
15 return $ret
16 }
17 while {[set arg [lshift argv]] != ""} {
18 switch -- $arg {
19 -sharedpagercache {
20 sqlite3_enable_shared_cache 1
21 }
22 default {
23 set argv [linsert $argv 0 $arg]
24 break
25 }
26 }
27 }
28
29 set testdir [file dirname $argv0]
30 source $testdir/tester.tcl
31 rename finish_test really_finish_test
32 proc finish_test {} {}
33 set ISQUICK 1
34
35 set EXCLUDE {
36 fts.test
37 fts1.test
38 fts2.test
39 }
40
41 if {[sqlite3 -has-codec]} {
42 # lappend EXCLUDE \
43 # conflict.test
44 }
45
46 foreach testfile [lsort -dictionary [glob $testdir/fts*.test]] {
47 set tail [file tail $testfile]
48 puts "test: $tail"
49 if {[lsearch -exact $EXCLUDE $tail]>=0} continue
50 source $testfile
51 catch {db close}
52 if {$sqlite_open_file_count>0} {
53 puts "$tail did not close all files: $sqlite_open_file_count"
54 incr nErr
55 lappend ::failList $tail
56 }
57 }
58 source $testdir/misuse.test
59
60 set sqlite_open_file_count 0
61 really_finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/src/util.c ('k') | third_party/sqlite/src/test/fts1.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698