diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2024-04-08 12:52:21 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2024-04-08 12:52:21 +0000 |
commit | 5521303676d695c39c5f35c042d831e08c6fbde4 (patch) | |
tree | 17db1c07620f9a666ede5d222870baa37e42e03e | |
parent | 88799c6ec7c0293ac689f21f22974bd218f2e275 (diff) |
[contrib] validate_failures.py: Print stats for --inverse_match
... to make result format consistent.
Change-Id: I560f9aefa7be611ae189782365309ce53a3fee05
-rwxr-xr-x | contrib/testsuite-management/validate_failures.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/testsuite-management/validate_failures.py b/contrib/testsuite-management/validate_failures.py index 8c30b58..4ec5b37 100755 --- a/contrib/testsuite-management/validate_failures.py +++ b/contrib/testsuite-management/validate_failures.py @@ -617,7 +617,7 @@ def PerformComparison(expected, actual): # but PASSed in actual set. actual_vs_expected, expected_vs_actual \ = expected_vs_actual, actual_vs_expected - stats = None + stats.fails = len(expected) tests_ok = True if len(actual_vs_expected) > 0: @@ -627,7 +627,7 @@ def PerformComparison(expected, actual): PrintSummary(actual_vs_expected) tests_ok = False - if _OPTIONS.verbosity >= 1 and stats: + if _OPTIONS.verbosity >= 1: stats.Print() if _OPTIONS.verbosity >= 2 and len(expected_vs_actual) > 0: |