* g++.dg/special/ecos.exp (conpr-1.C): Do not write in $srcdir.
From-SVN: r40943
This commit is contained in:
parent
80122075e3
commit
2c082cb286
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user