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

Unified Diff: third_party/sqlite/src/test/bc_common.tcl

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/test/backup5.test ('k') | third_party/sqlite/src/test/bigsort.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/bc_common.tcl
diff --git a/third_party/sqlite/src/test/bc_common.tcl b/third_party/sqlite/src/test/bc_common.tcl
index eb9b6db9d3536ef9bbbe7d4eb7e03d2042967c3b..78010dfa46b2be696238bfef362de96224249af3 100644
--- a/third_party/sqlite/src/test/bc_common.tcl
+++ b/third_party/sqlite/src/test/bc_common.tcl
@@ -7,11 +7,13 @@ proc bc_find_binaries {zCaption} {
# against.
#
set binaries [list]
- set pattern "[file tail [info nameofexec]]?*"
+ set self [file tail [info nameofexec]]
+ set pattern "$self?*"
if {$::tcl_platform(platform)=="windows"} {
set pattern [string map {\.exe {}} $pattern]
}
foreach file [glob -nocomplain $pattern] {
+ if {$file==$self} continue
if {[file executable $file] && [file isfile $file]} {lappend binaries $file}
}
« no previous file with comments | « third_party/sqlite/src/test/backup5.test ('k') | third_party/sqlite/src/test/bigsort.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698