mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-07 13:22:46 +00:00
Check if driver_component is missing
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
This commit is contained in:
parent
f28cf594b1
commit
59b9efc6dd
@ -107,7 +107,11 @@ def analyze_driver_vs_reference(results: Results, outcomes,
|
|||||||
ref_outcomes = outcomes.get("component_" + component_ref)
|
ref_outcomes = outcomes.get("component_" + component_ref)
|
||||||
driver_outcomes = outcomes.get("component_" + component_driver)
|
driver_outcomes = outcomes.get("component_" + component_driver)
|
||||||
|
|
||||||
if ref_outcomes is None or not ref_outcomes['successes']:
|
if ref_outcomes is None or driver_outcomes is None:
|
||||||
|
results.error("required components are missing: bad outcome file?")
|
||||||
|
return
|
||||||
|
|
||||||
|
if not ref_outcomes['successes']:
|
||||||
results.error("no passing test in reference component: bad outcome file?")
|
results.error("no passing test in reference component: bad outcome file?")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user