setting path to prcontext.tcl script. Right now it searches for tclsh in your path...
authorTanya Lattner <tonic@nondot.org>
Sat, 13 Nov 2004 23:36:18 +0000 (23:36 +0000)
committerTanya Lattner <tonic@nondot.org>
Sat, 13 Nov 2004 23:36:18 +0000 (23:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17720 91177308-0d34-0410-b5e6-96231b3b80d8

test/Makefile
test/lib/llvm-dg.exp

index 8a8f0fac5da6c5596f22971eeb6ef36cc78776d4..06001bf78cf02cdadc1eb45470f30bc562c0aaa7 100644 (file)
@@ -137,7 +137,7 @@ site.exp: Makefile $(LLVM_OBJ_ROOT)/Makefile.config
        @echo '# Do not edit here.  If you wish to override these values' >>site.tmp
        @echo '# edit the last section' >>site.tmp
        @echo "set target_triplet $(TARGET_TRIPLE)" >> site.tmp
-       @echo 'set prcontext "$(PYTHON) $(LLVM_SRC_ROOT)/test/Scripts/prcontext.py"' >> site.tmp
+       @echo 'set prcontext "tclsh $(LLVM_SRC_ROOT)/test/Scripts/prcontext.tcl"' >> site.tmp
        @echo 'set srcdir $(LLVM_SRC_ROOT)/test' >>site.tmp
        @echo "set objdir $(LLVM_OBJ_ROOT)/test" >>site.tmp
        @echo 'set llvmgcc $(LLVMGCCDIR)/bin/gcc' >> site.tmp
index 4fe6a4aa25fd37d3b0566daa6fc3e27d7817d23f..8363af7807badc0a54e1f6f1647ca9db0ffe6ef0 100644 (file)
@@ -53,7 +53,7 @@ proc llvm-runtest { programs objdir subdir target_triplet llvmgcc llvmgxx prcont
                regsub -all {%llvmgxx} $new_runline $llvmgxx new_runline
                
                #replace %prcontext with prcontext.tcl (Goes away when we remove qmtest)
-               regsub -all {%prcontext} $new_runline "tclsh prcontext.tcl" new_runline
+               regsub -all {%prcontext} $new_runline $prcontext new_runline
 
                puts $scriptFileId $new_runline
            } elseif {[regexp {XFAIL:[ *](.+)} $line match targets]} {