Commit 2c082cb2 by Loren J. Rittle Committed by Loren J. Rittle

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

From-SVN: r40943
parent 80122075
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> 2001-03-28 Philip Blundell <philb@gnu.org>
* gcc.c-torture/compile/20010328-1.c: New test. * gcc.c-torture/compile/20010328-1.c: New test.
......
...@@ -29,15 +29,15 @@ load_lib g++-dg.exp ...@@ -29,15 +29,15 @@ load_lib g++-dg.exp
########### ###########
dg-init 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 { if [string match "*init_priority*" $lines] then {
xfail "conpr-1.C" xfail "conpr-1.C"
file delete $srcdir/$subdir/a.out file delete $objdir/a.out
} elseif ![string match "" $lines] then { } elseif ![string match "" $lines] then {
fail "conpr-1.C" fail "conpr-1.C"
} else { } else {
dg-runtest "$srcdir/$subdir/conpr-1.C" "" "" dg-runtest "$srcdir/$subdir/conpr-1.C" "" ""
file delete $srcdir/$subdir/a.out file delete $objdir/a.out
} }
dg-finish dg-finish
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment