]> git.ipfire.org Git - thirdparty/gcc.git/commit
This fixes an edge case in parsing summary lines. Some times, the
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Mar 2012 20:43:29 +0000 (20:43 +0000)
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Mar 2012 20:43:29 +0000 (20:43 +0000)
commit6d0c6e19686cee23bb37495b52eb6d675a253fe2
treec65fd9c27f000abf9a2a529ade16da05eb84d385
parentfa2f697a74101cc0c2402d2cab9bf57023f8c057
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184822 138bc75d-0d04-0410-961f-82ee72b054a4
contrib/testsuite-management/validate_failures.py