[RFA]: File-I/O patch, testsuite
Corinna Vinschen
vinschen@redhat.com
Thu May 22 06:52:00 GMT 2003
On Wed, May 21, 2003 at 06:51:05PM -0400, Andrew Cagney wrote:
> >However, this tests are currently running always, regardless if the
> >target implements this functionality or not. I'm not quite sure
> >about the best way to skip these tests for those targets...
>
> I was going to suggest:
>
> ># test only on a remote target board
> >if {! [is_remote target]} {
> > return
> >}
Yeah, we could add this. Sounds about right.
> but it doesn't hurt to have this run native (should work?).
It doesn't make any sense, though. :-)
> I don't understand why:
>
> +catch "system \"chmod -f +w dir2.fileio.test\""
> +catch "system \"rm -rf *.fileio.test\""
>
> appears twice.
Paranoid mode. The catches removes all files produced by the fileio tests
of a previous testsuite run and it does so at the end to not let them
hanging around when the test finishes. The test itself needs to have
a clean start, otherwise it produces a couple of annoying FAILs.
Corinna
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com
More information about the Gdb-patches
mailing list