diff options
author | Ken Raeburn <raeburn@cygnus> | 1994-01-28 20:09:26 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1994-01-28 20:09:26 +0000 |
commit | 6e0a904fd01c782a704c2ee383fb1276cc2b2f6a (patch) | |
tree | 52706fa0742ba4d8fe5ec33d4e9d068b9151ccad /ld/testsuite/ld.cdtest/cdtest.exp | |
parent | 57e5ec0783eee6ca5872ea824c1b5fd04dabfc16 (diff) | |
download | gdb-6e0a904fd01c782a704c2ee383fb1276cc2b2f6a.zip gdb-6e0a904fd01c782a704c2ee383fb1276cc2b2f6a.tar.gz gdb-6e0a904fd01c782a704c2ee383fb1276cc2b2f6a.tar.bz2 |
Fix test case to be valid ANSI C++.
Don't require use of fixed C++ header files, so "../gcc/xgcc -B../gcc/" ought
to work for CXX.
In cdtest.exp: Combine "rm" lines. Added some commentary on things still
broken in this test case.
Diffstat (limited to 'ld/testsuite/ld.cdtest/cdtest.exp')
-rw-r--r-- | ld/testsuite/ld.cdtest/cdtest.exp | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/ld/testsuite/ld.cdtest/cdtest.exp b/ld/testsuite/ld.cdtest/cdtest.exp index 127e184..549cdbd 100644 --- a/ld/testsuite/ld.cdtest/cdtest.exp +++ b/ld/testsuite/ld.cdtest/cdtest.exp @@ -21,6 +21,15 @@ # Written by Jeffrey Wheat (cassidy@cygnus.com) # +# +# Bugs: +# + Assumes native toolchain, not cross. +# + Doesn't detect compilation failures (including lack of C++ compiler) +# cleanly. +# + Shouldn't use fixed names in /tmp for temp files -- either use names +# in current directory, or generate unique names. +# + if $tracelevel then { strace $tracelevel } @@ -68,10 +77,8 @@ foreach test [glob -nocomplain $srcdir/$subdir/*.dat] { } } # remove generated targets - verbose "Exec exec rm -f $tmptarget.o $tmptarget.out" - catch "exec rm -f $tmptarget.o $tmptarget.out" result - verbose "Exec exec rm -f $tmptarget.grt $tmptarget" - catch "exec rm -f $tmptarget.grt $tmptarget" result + verbose "Exec exec rm -f $tmptarget.o $tmptarget.out $tmptarget $tmptarget.grt" + catch "exec rm -f $tmptarget.o $tmptarget.out $tmptarget.grt $tmptarget" result } # remove dependant objects |