]> git.ipfire.org Git - thirdparty/gcc.git/commit
This fixes an edge case in parsing summary lines.
authorDiego Novillo <dnovillo@gcc.gnu.org>
Fri, 2 Mar 2012 20:43:29 +0000 (15:43 -0500)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Fri, 2 Mar 2012 20:43:29 +0000 (15:43 -0500)
commit9c23e8b86dc81b30484e93ae2ab88fe0015ebf46
treec65fd9c27f000abf9a2a529ade16da05eb84d385
parent290d87ebe636d7f40fb29f260ec56313e57a8ee6
This fixes an edge case in parsing summary lines.

This fixes an edge case in parsing summary lines.  Some times, the
description field is missing (e.g., 'FAIL: libstdc++/abi_check'), so
the space that the pattern was looking for does not exist.

I've changed it to match any whitespace, which includes '\n'.  I also
made it print the line that it fails to parse, in case there are other
problems like this in the future.

2012-03-02   Diego Novillo  <dnovillo@google.com>

* testsuite-management/validate_failures.py (class TestResult): Fix
match pattern for the summary line.  If there is a parsing failure,
show the line we failed to parse.

From-SVN: r184822
contrib/testsuite-management/validate_failures.py