From ddb6d52071367e5c8e08d3a41d57eef009e35a97 Mon Sep 17 00:00:00 2001 From: gerbsen <1186245+gerbsen@users.noreply.github.com> Date: Mon, 23 Feb 2026 12:59:36 +0100 Subject: [PATCH] Fix error count calculation in compliance check I just noticed this line which can either be deleted or added via += not sure which one is correct Signed-off-by: gerbsen <1186245+gerbsen@users.noreply.github.com> --- Tests/scs-compliance-check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/scs-compliance-check.py b/Tests/scs-compliance-check.py index e23f04e29..316499024 100755 --- a/Tests/scs-compliance-check.py +++ b/Tests/scs-compliance-check.py @@ -231,7 +231,7 @@ def run(self, check, testcases=()): self.num_abort += invocation["critical"] self.num_error += invocation["error"] # count failed testcases because they need not be reported redundantly on the error channel - self.num_error + len([value for value in invocation['results'].values() if value < 0]) + self.num_error += len([value for value in invocation['results'].values() if value < 0]) return invocation