-proc llvm-runtest { programs srcdir subdir target_triplet llvmgcc llvmgxx prcontext} {
+proc llvm-runtest { programs objdir subdir target_triplet llvmgcc llvmgxx prcontext} {
- set path [file join $srcdir $subdir]
+ set path [file join $objdir $subdir]
#Make Output Directory if it does not exist already
cd $path
set hasRunline 1
#replace %s with filename
- regsub -all {%s} $runline $filename new_runline
+ regsub -all {%s} $runline $test new_runline
#replace %t with temp filenames
regsub -all {%t} $new_runline [file join Output $tmpFile] new_runline
}
}
}
-}
\ No newline at end of file
+}
+
+