diff options
author | ljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-28 21:10:51 +0000 |
---|---|---|
committer | ljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-28 21:10:51 +0000 |
commit | f20f0540eb3947613976119a51cd747250837746 (patch) | |
tree | 2b3564cc057a4688d2c372732b6e79b3fe1bafa4 /gcc/testsuite | |
parent | dc2c98d3bd30658ab2b1b64ff8bbb23b31ee7d3d (diff) | |
download | gcc-f20f0540eb3947613976119a51cd747250837746.tar.gz |
* g++.dg/special/ecos.exp (conpr-1.C): Do not write in $srcdir.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40943 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/special/ecos.exp | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 698ec4bb328..db7af5290b1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2001-03-28 Loren J. Rittle <ljrittle@acm.org> + + * g++.dg/special/ecos.exp (conpr-1.C): Do not write in $srcdir. + 2001-03-28 Philip Blundell <philb@gnu.org> * gcc.c-torture/compile/20010328-1.c: New test. diff --git a/gcc/testsuite/g++.dg/special/ecos.exp b/gcc/testsuite/g++.dg/special/ecos.exp index af3d8c1b560..8d3ec90a01a 100644 --- a/gcc/testsuite/g++.dg/special/ecos.exp +++ b/gcc/testsuite/g++.dg/special/ecos.exp @@ -29,15 +29,15 @@ load_lib g++-dg.exp ########### dg-init -set lines [g++_target_compile "$srcdir/$subdir/conpr-1.C" "$srcdir/$subdir/a.out" executable ""] +set lines [g++_target_compile "$srcdir/$subdir/conpr-1.C" "$objdir/a.out" executable ""] if [string match "*init_priority*" $lines] then { xfail "conpr-1.C" - file delete $srcdir/$subdir/a.out + file delete $objdir/a.out } elseif ![string match "" $lines] then { fail "conpr-1.C" } else { dg-runtest "$srcdir/$subdir/conpr-1.C" "" "" - file delete $srcdir/$subdir/a.out + file delete $objdir/a.out } dg-finish |