Fix the backcompat.test script so that it works with the --testdir test option.

FossilOrigin-Name: f7480e33eb82f2eae219d17ce46cd2d4edac07d2
This commit is contained in:
dan
2016-03-14 15:43:03 +00:00
parent 0d71eaa368
commit de503eb166
4 changed files with 14 additions and 13 deletions
+2 -1
View File
@@ -85,7 +85,8 @@ proc do_allbackcompat_test {script} {
set nErr [set_test_counter errors]
foreach dir {0 1} {
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 ::bcname ".$bintag.$dir."