public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Diego Novillo <dnovillo@google.com>
To: Richard Guenther <richard.guenther@gmail.com>
Cc: gcc@gcc.gnu.org, janisjo@codesourcery.com
Subject: Re: RFC: Improving support for known testsuite failures
Date: Thu, 08 Sep 2011 12:14:00 -0000	[thread overview]
Message-ID: <CAD_=9DRZTTguEzCmMSePux2QsEY8q=g8LN5Mr9HRAF1HfjM3Mg@mail.gmail.com> (raw)
In-Reply-To: <CAFiYyc2xrQJW-uw92JbG-2YdVWkUcrtJR2c3TkdJhcOxHj-GmA@mail.gmail.com>

On Thu, Sep 8, 2011 at 07:49, Richard Guenther
<richard.guenther@gmail.com> wrote:

> Well, I'd rather _fix_ dejagnu then.  Any specific example you can't
> eventually xfail by dg-skipping the testcase?

Several I mentioned upthread:
- Some .exp files do no support xfail markers.
- Different directories will have their own syntactic sugar (though
most are using dg-xfail now).
- When using dg-xfail-if, you also need to xfail other dg- markers to
avoid UNRESOLVED.
- Similarly, a dg-xfail-if will cause UNRESOLVED if the test was dg-do
run or dg-do link.
- If you are forced to use dg-skip-if, you will miss state changes in the test.
- Some tests are simply flaky (e.g. the ones that depend on
environment like those using gdb).

I am purposely avoiding tangling with DejaGNU, though if I could find
a way of adding a global known-to-fail marker, that would solve my
problem too.  Janis, do you think that's feasible?

>> Perhaps if there was a global marker that one could add, that would
>> solve my problem too.  I think I'll start with a post-check filter in
>> contrib/
>
> You seem to have a very specific problem ;)

Apparently :)  I am thinking about release and devel branches, in
particular.  That's why I think I'll just add a script in contrib/

> I suppose some
> patch autotester?  Our patch autotester simply bootstraps twice
> and compares the result.

We have those, but doubling the amount of work done by the testers is
not acceptable.  What we need is something that will quickly decide
whether the testsuite run is OK or not.


Diego.

  reply	other threads:[~2011-09-08 12:14 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-07 15:28 Diego Novillo
2011-09-07 18:43 ` Andreas Jaeger
2011-09-07 19:57 ` Joseph S. Myers
2011-09-08  8:31 ` Richard Guenther
2011-09-08 11:05   ` Diego Novillo
2011-09-08 11:16     ` Richard Guenther
2011-09-08 11:34       ` Diego Novillo
2011-09-08 11:49         ` Richard Guenther
2011-09-08 12:14           ` Diego Novillo [this message]
2011-09-08 12:20             ` Richard Guenther
2011-09-08 12:26               ` Diego Novillo
2011-09-08 12:30                 ` Richard Guenther
2011-09-08 12:33                   ` Diego Novillo
2011-09-08 13:24         ` Richard Earnshaw
2011-09-08 13:55           ` Diego Novillo
2011-09-08 14:03             ` Richard Earnshaw
2011-09-08 16:41           ` Joseph S. Myers
2011-09-23  0:07     ` Hans-Peter Nilsson
2011-09-23 13:11       ` Diego Novillo
2011-09-08 16:39   ` Joseph S. Myers
2011-09-08 22:27   ` Michael Hope

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='CAD_=9DRZTTguEzCmMSePux2QsEY8q=g8LN5Mr9HRAF1HfjM3Mg@mail.gmail.com' \
    --to=dnovillo@google.com \
    --cc=gcc@gcc.gnu.org \
    --cc=janisjo@codesourcery.com \
    --cc=richard.guenther@gmail.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).