From: Joel Brobecker <brobecker@adacore.com>
To: Janis Johnson <janisjo@codesourcery.com>
Cc: Mark Kettenis <mark.kettenis@xs4all.nl>, gdb-patches@sourceware.org
Subject: Re: [RFA] bailing out of tests with multiple errors or timeouts
Date: Thu, 05 May 2011 18:57:00 -0000 [thread overview]
Message-ID: <20110505185705.GA2568@adacore.com> (raw)
In-Reply-To: <4DC2C957.2070307@codesourcery.com>
There was a discussion in the past about this, and we thought that
the benefit of continuing after detecting a TIMEOUT was, overall,
usually nul. A timeout is often a source of loss of synchronization
between what you're sending and the associated output, so continuing
in that situation isn't going to be all that useful. I'm sure we'll
find some counter examples, but the ration between benefits vs time
wasted is probably going to remain very small.
So the conclusion the two of us who discussed this reached was that
we should just abort the testcase at the first TIMEOUT. But rather
than do it in an ad hoc way as is done here, do it systematically.
The problem is, I haven't found a way to do this, yet. I thought
about raising an exception, but I don't think there is a way for
the testsuite to trap it before dejagnu sees it...
--
Joel
prev parent reply other threads:[~2011-05-05 18:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-04 17:46 Janis Johnson
2011-05-04 18:13 ` Mark Kettenis
2011-05-05 15:59 ` Janis Johnson
2011-05-05 18:57 ` Joel Brobecker [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=20110505185705.GA2568@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=janisjo@codesourcery.com \
--cc=mark.kettenis@xs4all.nl \
/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