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
This commit is contained in:
committed by
Christophe Lyon
parent
e8d18fd8f6
commit
0a7b752172
@@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
||||
2019-03-05 Christophe Lyon <christophe.lyon@linaro.org>
|
||||
|
||||
contrib/
|
||||
|
||||
@@ -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]:
|
||||
|
||||
Reference in New Issue
Block a user