From 3a777530547f9dd1357c27985f143c7566f5c9ff Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Thu, 18 Apr 2024 11:35:58 +0000 Subject: [contrib] validate_failures.py: Fix output of manifests 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 --- contrib/testsuite-management/validate_failures.py | 1 + 1 file changed, 1 insertion(+) 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)) -- cgit v1.2.3