1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Changes to fix problems with "make check". Apparently you can redefine

functions and Tcl's just tickled with that. The fix is to give the "new"
test system a different interface function name.

llvm-svn: 36022
This commit is contained in:
Reid Spencer 2007-04-14 22:51:29 +00:00
parent a8235c3a66
commit cfa86314dd
7 changed files with 11 additions and 9 deletions

View File

@ -1,4 +1,4 @@
load_lib llvm.exp
llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]

View File

@ -1,3 +1,3 @@
load_lib llvm.exp
llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]

View File

@ -1,3 +1,3 @@
load_lib llvm.exp
llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]

View File

@ -1,3 +1,3 @@
load_lib llvm.exp
llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]

View File

@ -1,3 +1,3 @@
load_lib llvm.exp
llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]

View File

@ -40,8 +40,10 @@ proc execOneLine { test PRS outcome lineno line } {
proc substitute { line test tmpFile } {
global srcroot objroot srcdir objdir subdir target_triplet prcontext
global llvmgcc llvmgxx global llvmgcc_version llvmgccmajvers
global llvmgcc llvmgxx llvmgcc_version llvmgccmajvers
global gccpath gxxpath compile_c compile_cxx link shlibext llvmlibsdir
set path [file join $srcdir $subdir]
set tmp [file join Output $tmpFile]
set new_line $line
#replace %prcontext with prcontext.tcl (Must replace before %p)
@ -69,7 +71,7 @@ proc substitute { line test tmpFile } {
return $new_line
}
proc llvm-runtest { programs } {
proc RunLLVMTests { test_source_files } {
global srcroot objroot srcdir objdir subdir target_triplet
set timeout 60
@ -85,7 +87,7 @@ proc llvm-runtest { programs } {
file mkdir Output
foreach test $programs {
foreach test $test_source_files {
#Should figure out best way to set the timeout
#set timeout 40