diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2019-03-05 16:29:19 +0000 |
---|---|---|
committer | Christophe Lyon <clyon@gcc.gnu.org> | 2019-03-05 17:29:19 +0100 |
commit | 0a7b752172f1e2d7868767e8efecefaf8fb957f3 (patch) | |
tree | 29013f9220db880adff05f984e2bb5c01a2d7a71 /contrib/dg-extract-results.py | |
parent | e8d18fd8f6077c2022282b0a1b09ea5c5c3d62d4 (diff) | |
download | gcc-0a7b752172f1e2d7868767e8efecefaf8fb957f3.tar.gz |
dg-extract-results.py: Handle case where a WARNING happens with the first test of a harness.
2019-03-05 Christophe Lyon <christophe.lyon@linaro.org>
contrib/
* dg-extract-results.py: Handle case where a WARNING happens with
the first test of a harness.
From-SVN: r269394
Diffstat (limited to 'contrib/dg-extract-results.py')
-rw-r--r-- | contrib/dg-extract-results.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/dg-extract-results.py b/contrib/dg-extract-results.py index ed62f73226f..5bf2f87c241 100644 --- a/contrib/dg-extract-results.py +++ b/contrib/dg-extract-results.py @@ -307,8 +307,8 @@ class Prog: has_warning = 0 key = (name, len (harness.results)) harness.results.append ((key, line)) - if not first_key and sort_logs: - first_key = key + if not first_key and sort_logs: + first_key = key if line.startswith ('ERROR: (DejaGnu)'): for i in range (len (self.count_names)): if 'DejaGnu errors' in self.count_names[i]: |