mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
The Ada f-e produces various auxiliary output files
that cannot be suppressed and cannot be redirected: they are dumped in the current working directory. When running the testsuite this means that these files do not end up in the Output directory. The best solution I could find is to change directory into Output before running tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40437 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
1b4b25696b
commit
6c7ada4c58
6 files changed
+15
-15
No files matched your search
+2
-2
@@ -46,7 +46,6 @@ proc substitute { line test tmpFile } {
|
||||
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]
|
||||
|
||||
# Substitute all Tcl variables.
|
||||
set new_line [subst $line ]
|
||||
@@ -72,7 +71,7 @@ proc substitute { line test tmpFile } {
|
||||
#replace %s with filename
|
||||
regsub -all {%s} $new_line $test new_line
|
||||
#replace %t with temp filenames
|
||||
regsub -all {%t} $new_line [file join Output $tmpFile] new_line
|
||||
regsub -all {%t} $new_line $tmpFile new_line
|
||||
#replace %% with %
|
||||
regsub -all {%%} $new_line % new_line
|
||||
return $new_line
|
||||
@@ -94,6 +93,7 @@ proc RunLLVMTests { test_source_files } {
|
||||
}
|
||||
|
||||
file mkdir Output
|
||||
cd Output
|
||||
|
||||
foreach test $test_source_files {
|
||||
#Should figure out best way to set the timeout
|
||||
|
||||
Reference in new issue
Block a user