Skip to content

Commit 11447e4

Browse files
nashifmmahadevan108
authored andcommitted
twister: stats: not run tests are also part not executed summary
Add notrun tests to the count of non-executed tests. Signed-off-by: Anas Nashif <[email protected]>
1 parent 64f9504 commit 11447e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pylib/twister/twisterlib/reports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ def summary(self, results, ignore_unrecognized_sections, duration):
617617
)
618618
if results.skipped_cases or results.notrun_cases:
619619
logger.info(
620-
f'{results.skipped_cases} selected test cases not executed:' \
620+
f'{results.skipped_cases + results.notrun_cases} selected test cases not executed:' \
621621
f'{" " + str(results.skipped_cases) + " skipped" if results.skipped_cases else ""}' \
622622
f'{(", " if results.skipped_cases else " ") + str(results.notrun_cases) + " not run (built only)" if results.notrun_cases else ""}' \
623623
f'.'

0 commit comments

Comments
 (0)