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

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

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 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/backup_malloc.test ('k') | third_party/sqlite/src/test/bestindex1.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 78010dfa46b2be696238bfef362de96224249af3..c47f99681fb7d61c40afe6c8ef64384968daa935 100644
--- a/third_party/sqlite/src/test/bc_common.tcl
+++ b/third_party/sqlite/src/test/bc_common.tcl
@@ -7,7 +7,7 @@ proc bc_find_binaries {zCaption} {
# against.
#
set binaries [list]
- set self [file tail [info nameofexec]]
+ set self [info nameofexec]
set pattern "$self?*"
if {$::tcl_platform(platform)=="windows"} {
set pattern [string map {\.exe {}} $pattern]
@@ -52,7 +52,8 @@ proc do_bc_test {bin script} {
code1 { sqlite3 db test.db }
code2 { sqlite3 db test.db }
- set bintag [string map {testfixture {}} $bin]
+ set bintag $bin
+ regsub {.*testfixture\.} $bintag {} bintag
set bintag [string map {\.exe {}} $bintag]
if {$bintag == ""} {set bintag self}
set saved_prefix $::testprefix
« no previous file with comments | « third_party/sqlite/src/test/backup_malloc.test ('k') | third_party/sqlite/src/test/bestindex1.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698