r190351 - in /trunk/contrib: ChangeLog testsuit...

dnovillo@gcc.gnu.org dnovillo@gcc.gnu.org
Mon Aug 13 18:00:00 GMT 2012


Author: dnovillo
Date: Mon Aug 13 18:00:55 2012
New Revision: 190351

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190351
Log:
Implement support for expiring expected results in validate_failures.py.

I noticed recently that while the validator was accepting the
'expire=YYYYMMDD' attribute, it was not actually doing anything with
it.

This patch fixes the oversight.

2012-08-13  Diego Novillo  <dnovillo@google.com>

	* testsuite-management/validate_failures.py: Import datetime.
	(TestResult.ExpirationDate): New.
	(TestResult.HasExpired): New.
	(ParseSummary): Call it.  If it returns True, warn that the
	expected failure has expired and do not add it to the set of
	expected results.
	(GetResults): Clarify documentation.

Modified:
    trunk/contrib/ChangeLog
    trunk/contrib/testsuite-management/validate_failures.py



More information about the Gcc-cvs mailing list