This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Intermittent/non-reproducible gcc testsuite failures
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: Michael Eager <eager at eagercon dot com>
- Cc: GCC <gcc at gcc dot gnu dot org>
- Date: Wed, 08 Apr 2009 21:01:40 +1000
- Subject: Re: Intermittent/non-reproducible gcc testsuite failures
- References: <49DC480B.1040503@eagercon.com>
On Tue, 2009-04-07 at 23:45 -0700, Michael Eager wrote:
> I'm running the gcc test suite on powerpc-unknown-eabisim
> on the trunk and I get results which are different from
> one run to the next. When I run the failing tests by
> hand, all pass. Mike Stein also has noted that some of
> the tests are intermittent failures.
> Does anyone have any suggestions on how to get one of
> these tests to fail consistently, or a different approach
> to finding the cause of the intermittent failures?
There are two (or three?) sources of interittency here, and one of them
is the testsuite harness itself. One thing you could do to try and
narrow it down is to run *just* the test cases you are seeing
intermittency in using RUNTESTFLAGS=foo.exp=bar.c a dozen times and see
if the results are stable.
Cheers, Ben