aboutsummaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2004-11-19 23:00:19 +0000
committerTanya Lattner <tonic@nondot.org>2004-11-19 23:00:19 +0000
commit9397204e50e17858b8701ba7dea2e95323f160a4 (patch)
tree7136f58bce8558c8b56b7369dc0d90f2448688c9 /test/lib
parentf9e7943915edf1945e9cbf81930bc5271bad60db (diff)
Forgot to join srcdir and subdir for complete path for input files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18022 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/llvm-dg.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/llvm-dg.exp b/test/lib/llvm-dg.exp
index 7c104c0f46..55813c9b33 100644
--- a/test/lib/llvm-dg.exp
+++ b/test/lib/llvm-dg.exp
@@ -52,7 +52,7 @@ proc llvm-runtest { programs objdir srcdir subdir target_triplet llvmgcc llvmgxx
regsub -all {%prcontext} $new_runline $prcontext new_runline
#replace %p with path to source,
- regsub -all {%p} $new_runline $srcdir new_runline
+ regsub -all {%p} $new_runline [file join $srcdir $subdir] new_runline
#replace %llvmgcc with actual path to llvmgcc
regsub -all {%llvmgcc} $new_runline $llvmgcc new_runline