aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/run_tests.py')
-rw-r--r--test/run_tests.py58
1 files changed, 36 insertions, 22 deletions
diff --git a/test/run_tests.py b/test/run_tests.py
index f20c43af7d7..66e0ee4db39 100644
--- a/test/run_tests.py
+++ b/test/run_tests.py
@@ -788,28 +788,42 @@ class AllResults(dict):
f"Scheduled tests: {self.all_testcases}",
f"Executed tests: {self[TestResultCode.TEST_RUN]}",
f"Passed tests: {colorize(self[TestResultCode.PASS], GREEN)}",
- f"Expected failures: {colorize(self[TestResultCode.EXPECTED_FAIL], GREEN)}"
- if self[TestResultCode.EXPECTED_FAIL]
- else None,
- f"Skipped tests: {colorize(self[TestResultCode.SKIP], YELLOW)}"
- if self[TestResultCode.SKIP]
- else None,
- f"Not Executed tests: {colorize(self.not_executed, RED)}"
- if self.not_executed
- else None,
- f"Failures: {colorize(self[TestResultCode.FAIL], RED)}"
- if self[TestResultCode.FAIL]
- else None,
- f"Unexpected passes: {colorize(self[TestResultCode.UNEXPECTED_PASS], RED)}"
- if self[TestResultCode.UNEXPECTED_PASS]
- else None,
- f"Errors: {colorize(self[TestResultCode.ERROR], RED)}"
- if self[TestResultCode.ERROR]
- else None,
- "Tests skipped due to lack of CPUS: "
- f"{colorize(self[TestResultCode.SKIP_CPU_SHORTAGE], YELLOW)}"
- if self[TestResultCode.SKIP_CPU_SHORTAGE]
- else None,
+ (
+ f"Expected failures: {colorize(self[TestResultCode.EXPECTED_FAIL], GREEN)}"
+ if self[TestResultCode.EXPECTED_FAIL]
+ else None
+ ),
+ (
+ f"Skipped tests: {colorize(self[TestResultCode.SKIP], YELLOW)}"
+ if self[TestResultCode.SKIP]
+ else None
+ ),
+ (
+ f"Not Executed tests: {colorize(self.not_executed, RED)}"
+ if self.not_executed
+ else None
+ ),
+ (
+ f"Failures: {colorize(self[TestResultCode.FAIL], RED)}"
+ if self[TestResultCode.FAIL]
+ else None
+ ),
+ (
+ f"Unexpected passes: {colorize(self[TestResultCode.UNEXPECTED_PASS], RED)}"
+ if self[TestResultCode.UNEXPECTED_PASS]
+ else None
+ ),
+ (
+ f"Errors: {colorize(self[TestResultCode.ERROR], RED)}"
+ if self[TestResultCode.ERROR]
+ else None
+ ),
+ (
+ "Tests skipped due to lack of CPUS: "
+ f"{colorize(self[TestResultCode.SKIP_CPU_SHORTAGE], YELLOW)}"
+ if self[TestResultCode.SKIP_CPU_SHORTAGE]
+ else None
+ ),
]
)