forked from OSchip/llvm-project
setting path to prcontext.tcl script. Right now it searches for tclsh in your path, but this should be obtained from configure.
llvm-svn: 17720
This commit is contained in:
parent
9fa7f0ae0a
commit
0fbc9c8350
|
@ -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
|
||||
|
|
|
@ -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]} {
|
||||
|
|
Loading…
Reference in New Issue