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:
Duncan Sands
2007-07-23 15:23:35 +00:00
parent 1b4b25696b
commit 6c7ada4c58
6 changed files with 15 additions and 15 deletions

View File

@@ -1,12 +1,12 @@
// This is a regression test on debug info to make sure we don't hit a compile
// unit size issue with gdb.
// RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | \
// RUN: llc --disable-fp-elim -o Output/NoCompileUnit.s -f
// RUN: as Output/NoCompileUnit.s -o Output/NoCompileUnit.o
// RUN: g++ Output/NoCompileUnit.o -o Output/NoCompileUnit.exe
// RUN: llc --disable-fp-elim -o NoCompileUnit.s -f
// RUN: as NoCompileUnit.s -o NoCompileUnit.o
// RUN: g++ NoCompileUnit.o -o NoCompileUnit.exe
// RUN: echo {break main\nrun\np NoCompileUnit::pubname} > %t2
// RUN: gdb -q -batch -n -x %t2 Output/NoCompileUnit.exe | \
// RUN: tee Output/NoCompileUnit.out | not grep {"low == high"}
// RUN: gdb -q -batch -n -x %t2 NoCompileUnit.exe | \
// RUN: tee NoCompileUnit.out | not grep {"low == high"}
// XFAIL: alpha|ia64|arm