diff options
author | Duncan Sands <baldrick@free.fr> | 2007-07-23 15:23:35 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2007-07-23 15:23:35 +0000 |
commit | b063fa59d3d04fd62699b363de9f74f78a1ec0d7 (patch) | |
tree | a69254ea869b73c23fc955d9345d67ab5a36ecdd /llvm/test/lib | |
parent | 1747440364ba8a05b17d179a8626eb50c830d49a (diff) | |
download | bcm5719-llvm-b063fa59d3d04fd62699b363de9f74f78a1ec0d7.tar.gz bcm5719-llvm-b063fa59d3d04fd62699b363de9f74f78a1ec0d7.zip |
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.
llvm-svn: 40437
Diffstat (limited to 'llvm/test/lib')
-rw-r--r-- | llvm/test/lib/llvm.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/lib/llvm.exp b/llvm/test/lib/llvm.exp index a64692d2318..9a85a1c87ae 100644 --- a/llvm/test/lib/llvm.exp +++ b/llvm/test/lib/llvm.exp @@ -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 |