mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-29 04:20:12 +00:00
Merge pull request #9338 from sezrab/analyze_driver_vs_reference_header_correction-3.6
Backport 3.6: Fix inconsistent ordering of driver vs reference in analyze_outcomes
This commit is contained in:
commit
d210bf73b2
@ -129,8 +129,8 @@ def name_matches_pattern(name: str, str_or_re) -> bool:
|
|||||||
def analyze_driver_vs_reference(results: Results, outcomes: Outcomes,
|
def analyze_driver_vs_reference(results: Results, outcomes: Outcomes,
|
||||||
component_ref: str, component_driver: str,
|
component_ref: str, component_driver: str,
|
||||||
ignored_suites: typing.List[str], ignored_tests=None) -> None:
|
ignored_suites: typing.List[str], ignored_tests=None) -> None:
|
||||||
"""Check that all tests passing in the reference component are also
|
"""Check that all tests passing in the driver component are also
|
||||||
passing in the corresponding driver component.
|
passing in the corresponding reference component.
|
||||||
Skip:
|
Skip:
|
||||||
- full test suites provided in ignored_suites list
|
- full test suites provided in ignored_suites list
|
||||||
- only some specific test inside a test suite, for which the corresponding
|
- only some specific test inside a test suite, for which the corresponding
|
||||||
@ -166,7 +166,7 @@ def analyze_driver_vs_reference(results: Results, outcomes: Outcomes,
|
|||||||
ignored = True
|
ignored = True
|
||||||
|
|
||||||
if not ignored and not suite_case in driver_outcomes.successes:
|
if not ignored and not suite_case in driver_outcomes.successes:
|
||||||
results.error("PASS -> SKIP/FAIL: {}", suite_case)
|
results.error("SKIP/FAIL -> PASS: {}", suite_case)
|
||||||
if ignored and suite_case in driver_outcomes.successes:
|
if ignored and suite_case in driver_outcomes.successes:
|
||||||
results.error("uselessly ignored: {}", suite_case)
|
results.error("uselessly ignored: {}", suite_case)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user