mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-28 19:21:08 +00:00
Revert "Catch ScriptOutputError in analyze_outcomes.py"
Just abort the program if there is exception raised when collecting available test cases, so that we could easily found out what's going wrong. This reverts commit c353c5cfd5adecbb8774780bf3202a3a31473470. Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
This commit is contained in:
parent
c353c5cfd5
commit
5bde6bd8a6
@ -85,12 +85,7 @@ def execute_reference_driver_tests(results: Results, ref_component: str, driver_
|
|||||||
def analyze_coverage(results: Results, outcomes: Outcomes,
|
def analyze_coverage(results: Results, outcomes: Outcomes,
|
||||||
allow_list: typing.List[str], full_coverage: bool) -> None:
|
allow_list: typing.List[str], full_coverage: bool) -> None:
|
||||||
"""Check that all available test cases are executed at least once."""
|
"""Check that all available test cases are executed at least once."""
|
||||||
try:
|
available = check_test_cases.collect_available_test_cases()
|
||||||
available = check_test_cases.collect_available_test_cases()
|
|
||||||
except check_test_cases.ScriptOutputError:
|
|
||||||
results.error("fail to collect available test cases")
|
|
||||||
return
|
|
||||||
|
|
||||||
for suite_case in available:
|
for suite_case in available:
|
||||||
hit = any(suite_case in comp_outcomes.successes or
|
hit = any(suite_case in comp_outcomes.successes or
|
||||||
suite_case in comp_outcomes.failures
|
suite_case in comp_outcomes.failures
|
||||||
|
Loading…
x
Reference in New Issue
Block a user