mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Fix the rtree test module so that it works even if the ext/ subfolder is
omitted from the tree. (CVS 6679) FossilOrigin-Name: 086206e1f51e22ce7b9f45865b370088db126cd2
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
#***********************************************************************
|
||||
# This file runs all rtree related tests.
|
||||
#
|
||||
# $Id: rtree.test,v 1.2 2008/07/12 14:52:20 drh Exp $
|
||||
# $Id: rtree.test,v 1.3 2009/05/25 14:17:35 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -21,7 +21,7 @@ if {[info exists ISQUICK] && $ISQUICK} {
|
||||
|
||||
set rtreedir [file join $testdir .. ext rtree]
|
||||
|
||||
foreach testfile [lsort -dictionary [glob $rtreedir/*.test]] {
|
||||
foreach testfile [lsort -dictionary [glob -nocomplain $rtreedir/*.test]] {
|
||||
set tail [file tail $testfile]
|
||||
if {[lsearch -exact $RTREE_EXCLUDE $tail]>=0} continue
|
||||
source $testfile
|
||||
|
Reference in New Issue
Block a user