summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2024-04-18 11:35:58 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2024-04-18 15:01:11 +0000
commit3a777530547f9dd1357c27985f143c7566f5c9ff (patch)
tree601f124b0dcd9fdde172360eed8eb8d04483e7f5
parent5521303676d695c39c5f35c042d831e08c6fbde4 (diff)
[contrib] validate_failures.py: Fix output of manifestsHEADmaster
If we have the same .exp line in the two different "tools", then we may skip the output of the .exp line if the entries of two "tools" are processed back-to-back. A missing .exp line after a "tool" header will make for a corrupted manifest file, which we will fail to accept as input later. Change-Id: I965a917228ed2cb54ca14343e210e5ae5989500f
-rwxr-xr-xcontrib/testsuite-management/validate_failures.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/testsuite-management/validate_failures.py b/contrib/testsuite-management/validate_failures.py
index 4ec5b37..aa450c1 100755
--- a/contrib/testsuite-management/validate_failures.py
+++ b/contrib/testsuite-management/validate_failures.py
@@ -251,6 +251,7 @@ class ResultSet(set):
if current_tool != result.tool:
current_tool = result.tool
outfile.write(_TOOL_LINE_FORMAT % current_tool)
+ current_exp = None
if current_exp != result.exp:
current_exp = result.exp
outfile.write(_EXP_LINE_FORMAT % (current_tool, current_exp))