* g++.dg/special/ecos.exp (conpr-1.C): Do not write in $srcdir.

From-SVN: r40943
This commit is contained in:
Loren J. Rittle 2001-03-28 21:10:51 +00:00 committed by Loren J. Rittle
parent 80122075e3
commit 2c082cb286
2 changed files with 7 additions and 3 deletions

View File

@ -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.

View File

@ -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