summaryrefslogtreecommitdiffstats
path: root/test/run_tests.py
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2024-04-03 12:31:42 -0400
committerDave Wallace <dwallacelf@gmail.com>2024-04-03 14:10:47 -0400
commit940a70fff474014b782e884882a85e290ff98494 (patch)
treeb5c66442fcdd8f522aedff7c62ae712858dec176 /test/run_tests.py
parentb48325100babf57118f3996b5584594050e0cf13 (diff)
tests: upgrade python packages
Type: test Change-Id: I01500466f3d15c79e38028677ce7e5c75d427fdc Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
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
+ ),
]
)