mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-28 06:14:10 +08:00
dg-extract-results.py (parse_run): Handle warnings that are printed before a test harness is run.
contrib/ * dg-extract-results.py (parse_run): Handle warnings that are printed before a test harness is run. From-SVN: r210637
This commit is contained in:
parent
8f0e7f6f6b
commit
768b94bc2d
@ -1,3 +1,8 @@
|
||||
2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
|
||||
|
||||
* dg-extract-results.py (parse_run): Handle warnings that are printed
|
||||
before a test harness is run.
|
||||
|
||||
2014-05-09 Jan-Benedict Glaw <jbglaw@lug-owl.de>
|
||||
|
||||
* config-list.mk (show): New target.
|
||||
|
@ -264,8 +264,12 @@ class Prog:
|
||||
# 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 them 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)
|
||||
|
Loading…
Reference in New Issue
Block a user