Skip to content

Commit ddb6d52

Browse files
authored
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>
1 parent 61b335b commit ddb6d52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tests/scs-compliance-check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def run(self, check, testcases=()):
231231
self.num_abort += invocation["critical"]
232232
self.num_error += invocation["error"]
233233
# count failed testcases because they need not be reported redundantly on the error channel
234-
self.num_error + len([value for value in invocation['results'].values() if value < 0])
234+
self.num_error += len([value for value in invocation['results'].values() if value < 0])
235235
return invocation
236236

237237

0 commit comments

Comments
 (0)