summaryrefslogtreecommitdiff
path: root/contrib/dg-extract-results.py
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2019-04-17 17:57:02 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2019-04-17 17:57:02 +0000
commitef1f37c94ae94d2d1052f56b627d1b0486e06609 (patch)
tree5191986cb2130ced928155e94e977f6d9d71b3fb /contrib/dg-extract-results.py
parent22c90e617b9a745d8f74ec81873ae1b3938ff7c5 (diff)
* dg-extract-results.sh: Only handle WARNING: program timed out
lines specially in "$MODE" == "sum". Restore previous behavior for "$MODE" != "sum". Clear has_timeout and timeout_cnt if in a different variant or curfile is empty. * dg-extract-results.py: Fix a typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@270415 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib/dg-extract-results.py')
-rw-r--r--contrib/dg-extract-results.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/dg-extract-results.py b/contrib/dg-extract-results.py
index 5bf2f87c2412..4e113a8dd6bb 100644
--- a/contrib/dg-extract-results.py
+++ b/contrib/dg-extract-results.py
@@ -296,7 +296,7 @@ class Prog:
# If we have a time out warning, make sure it appears
# before the following testcase diagnostic: we insert
# the testname before 'program' so that sort faces a
- # list of testhanes.
+ # list of testnames.
if line.startswith ('WARNING: program timed out'):
has_warning = 1
else: