This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: File-I/O patch, testsuite
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 22 May 2003 08:52:11 +0200
- Subject: Re: [RFA]: File-I/O patch, testsuite
- References: <20021121101107.V24928@cygbert.vinschen.de> <3ECC02D9.3060306@redhat.com>
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