From: Andrew Cagney <ac131313@redhat.com>
To: Corinna Vinschen <vinschen@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA]: File-I/O patch, testsuite
Date: Thu, 22 May 2003 17:40:00 -0000 [thread overview]
Message-ID: <3ECD0B5B.9060900@redhat.com> (raw)
In-Reply-To: <20030522065211.GH19367@cygbert.vinschen.de>
> 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 I think:
if [target_info exists gdb,noinferiorio] {
verbose "Skipping interrupt.exp because of noinferiorio."
return
}
is more correct. It's the lack of the I/O feature, and not the
remoteness that determines if the test should run.
>> but it doesn't hurt to have this run native (should work?).
>
>
> It doesn't make any sense, though. :-)
It would make maintenance easier. The more mainstream the test, the
more likely it is to be maintained. CF remote.exp which gets little
attention (suffering constant bit rot) because it is only run on remote
targets :-(
>> 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.
Ah, ok.
Andrew
prev parent reply other threads:[~2003-05-22 17:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-21 1:11 Corinna Vinschen
2003-05-21 22:51 ` Andrew Cagney
2003-05-22 6:52 ` Corinna Vinschen
2003-05-22 17:40 ` Andrew Cagney [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3ECD0B5B.9060900@redhat.com \
--to=ac131313@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=vinschen@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox