aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2004-11-08 03:26:59 +0000
committerTanya Lattner <tonic@nondot.org>2004-11-08 03:26:59 +0000
commit00a7469e69fdd278a0b43cf9a56a1b33551ff8a7 (patch)
tree0cf2806ce895fd49eeec8f3eff4138e16d8ed0e4 /test
parente3c803c621863c0e75c24ab95de9836caa51732c (diff)
downloadexternal_llvm-00a7469e69fdd278a0b43cf9a56a1b33551ff8a7.zip
external_llvm-00a7469e69fdd278a0b43cf9a56a1b33551ff8a7.tar.gz
external_llvm-00a7469e69fdd278a0b43cf9a56a1b33551ff8a7.tar.bz2
Now using path to python found by configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17610 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Makefile2
-rw-r--r--test/lib/llvm-dg.exp2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 31de463..4ab3df8 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -136,7 +136,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 $(LLVM_SRC_ROOT)/test/Scripts/prcontext.py' >> site.tmp
+ @echo 'set prcontext "$(PYTHON) $(LLVM_SRC_ROOT)/test/Scripts/prcontext.py"' >> 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
diff --git a/test/lib/llvm-dg.exp b/test/lib/llvm-dg.exp
index 7fcb1fa..35f9d3b 100644
--- a/test/lib/llvm-dg.exp
+++ b/test/lib/llvm-dg.exp
@@ -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 actual path to llvmg++ (Goes away when we remove qmtest)
- regsub -all {%prcontext} $new_runline "python $prcontext" new_runline
+ regsub -all {%prcontext} $new_runline "$prcontext" new_runline
puts $scriptFileId $new_runline
} elseif {[regexp {XFAIL:[ *](.+)} $line match targets]} {