mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
depends.py: fix typo and slightly reorganized code
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
@@ -74,16 +74,16 @@ def analyze_driver_vs_reference(outcomes, component_ref, component_driver,
|
|||||||
result = True
|
result = True
|
||||||
|
|
||||||
for key in available:
|
for key in available:
|
||||||
# Skip ignored test suites
|
|
||||||
full_test_suite = key.split(';')[0] # retrieve full test suit name
|
|
||||||
test_string = key.split(';')[1] # retrieve the text string of this test
|
|
||||||
test_suite = full_test_suite.split('.')[0] # retrieve main part of test suit name
|
|
||||||
if test_suite in ignored_suites:
|
|
||||||
continue
|
|
||||||
# Continue if test was not executed by any component
|
# Continue if test was not executed by any component
|
||||||
hits = outcomes[key].hits() if key in outcomes else 0
|
hits = outcomes[key].hits() if key in outcomes else 0
|
||||||
if hits == 0:
|
if hits == 0:
|
||||||
continue
|
continue
|
||||||
|
# Skip ignored test suites
|
||||||
|
full_test_suite = key.split(';')[0] # retrieve full test suite name
|
||||||
|
test_string = key.split(';')[1] # retrieve the text string of this test
|
||||||
|
test_suite = full_test_suite.split('.')[0] # retrieve main part of test suite name
|
||||||
|
if test_suite in ignored_suites:
|
||||||
|
continue
|
||||||
if ((full_test_suite in ignored_test) and
|
if ((full_test_suite in ignored_test) and
|
||||||
(test_string in ignored_test[full_test_suite])):
|
(test_string in ignored_test[full_test_suite])):
|
||||||
continue
|
continue
|
||||||
|
Reference in New Issue
Block a user