aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2012-08-13 14:18:52 -0400
committerDiego Novillo <dnovillo@gcc.gnu.org>2012-08-13 14:18:52 -0400
commit6baa72251b72cb42745d4fed90589374fe93c32f (patch)
treeb7d78bb1b3c074148a219b53adc2eb3c43b83be7 /contrib
parentc577382e7b00c09e89f0b0e8cff4361795f9499a (diff)
downloadgcc-6baa72251b72cb42745d4fed90589374fe93c32f.zip
gcc-6baa72251b72cb42745d4fed90589374fe93c32f.tar.gz
gcc-6baa72251b72cb42745d4fed90589374fe93c32f.tar.bz2
validate_failures.py (ParseSummary): Fix comment.
* testsuite-management/validate_failures.py (ParseSummary): Fix comment. From-SVN: r190352
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog5
-rwxr-xr-xcontrib/testsuite-management/validate_failures.py5
2 files changed, 8 insertions, 2 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 1967939..c41eb51 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,5 +1,10 @@
2012-08-13 Diego Novillo <dnovillo@google.com>
+ * testsuite-management/validate_failures.py (ParseSummary): Fix
+ comment.
+
+2012-08-13 Diego Novillo <dnovillo@google.com>
+
* testsuite-management/validate_failures.py: Import datetime.
(TestResult.ExpirationDate): New.
(TestResult.HasExpired): New.
diff --git a/contrib/testsuite-management/validate_failures.py b/contrib/testsuite-management/validate_failures.py
index 0ac9b15..c08748b 100755
--- a/contrib/testsuite-management/validate_failures.py
+++ b/contrib/testsuite-management/validate_failures.py
@@ -201,8 +201,9 @@ def ParseSummary(sum_fname):
if IsInterestingResult(line):
result = TestResult(line)
if result.HasExpired():
- # Tests that had an expiration set are not added to the
- # set of expected results.
+ # Tests that have expired are not added to the set of expected
+ # results. If they are still present in the set of actual results,
+ # they will cause an error to be reported.
print 'WARNING: Expected failure "%s" has expired.' % line.strip()
continue
result_set.add(result)