From 2c082cb28613ae126c5028bc7fc5a843c76749df Mon Sep 17 00:00:00 2001 From: "Loren J. Rittle" Date: Wed, 28 Mar 2001 21:10:51 +0000 Subject: [PATCH] * g++.dg/special/ecos.exp (conpr-1.C): Do not write in $srcdir. From-SVN: r40943 --- gcc/testsuite/ChangeLog | 4 ++++ 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 + + * g++.dg/special/ecos.exp (conpr-1.C): Do not write in $srcdir. + 2001-03-28 Philip Blundell * 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