Message ID | 874n0llk0v.fsf@talisman.default |
---|---|
State | New |
Headers | show |
On 19 May 2014 19:07, Richard Sandiford <rdsandiford@googlemail.com> wrote: > > Sorry for the breakage. I wanted to make the script as picky as I could > get away with though, so that results aren't lost accidentally. > > Could you try the attached? That works for me. Thanks for looking into it.
Charles Baylis <charles.baylis@linaro.org> writes: > On 19 May 2014 19:07, Richard Sandiford <rdsandiford@googlemail.com> wrote: >> >> Sorry for the breakage. I wanted to make the script as picky as I could >> get away with though, so that results aren't lost accidentally. >> >> Could you try the attached? > > That works for me. Thanks. I also tested it on x86_64-linux-gnu. Applied as obvious (I hope). Richard
Index: contrib/dg-extract-results.py =================================================================== --- contrib/dg-extract-results.py (revision 210601) +++ contrib/dg-extract-results.py (working copy) @@ -264,8 +264,12 @@ # the harness segment, so that if a run for a particular harness # has been split up, we can reassemble the individual segments # in a sensible order. + # + # dejagnu sometimes issues warnings about the testing environment + # before running any tests. Treat these as part of the header + # rather than as a test result. match = self.result_re.match (line) - if match: + if match and (harness or not line.startswith ('WARNING:')): if not harness: self.fatal (filename, 'saw test result before harness name') name = match.group (2)