2 #pragma ident "%Z%%M% %I% %E% SMI"
6 # The author disclaims copyright to this source code. In place of
7 # a legal notice, here is a blessing:
9 # May you do good and not evil.
10 # May you find forgiveness for yourself and forgive others.
11 # May you share freely, never taking more than you give.
13 #***********************************************************************
14 # This file runs all tests.
16 # $Id: quick.test,v 1.6 2004/02/11 02:18:07 drh Exp $
18 set testdir [file dirname $argv0]
19 source $testdir/tester.tcl
20 rename finish_test really_finish_test
21 proc finish_test {} {}
33 if {[sqlite -has-codec]} {
42 foreach testfile [lsort -dictionary [glob $testdir/*.test]] {
43 set tail [file tail $testfile]
44 if {[lsearch -exact $EXCLUDE $tail]>=0} continue
47 if {$sqlite_open_file_count>0} {
48 puts "$tail did not close all files: $sqlite_open_file_count"
50 lappend ::failList $tail
53 source $testdir/misuse.test
55 set sqlite_open_file_count 0