mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-30 17:09:41 -04:00
Make non-executed tests that are not in the allow list an error
* Turn the warnings produced when finding non-executed tests that are not in the allow list into errors. Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
This commit is contained in:
parent
358c6c644a
commit
7ebb18fbd6
@ -85,7 +85,10 @@ def analyze_coverage(results, outcomes, allow_list, full_coverage):
|
|||||||
results.warning('Test case not executed: {}', key)
|
results.warning('Test case not executed: {}', key)
|
||||||
elif hits != 0 and key in allow_list:
|
elif hits != 0 and key in allow_list:
|
||||||
# Test Case should be removed from the allow list.
|
# Test Case should be removed from the allow list.
|
||||||
results.warning('Allow listed test case was executed: {}', key)
|
if full_coverage:
|
||||||
|
results.error('Allow listed test case was executed: {}', key)
|
||||||
|
else:
|
||||||
|
results.warning('Allow listed test case was executed: {}', key)
|
||||||
|
|
||||||
def analyze_driver_vs_reference(outcomes, component_ref, component_driver,
|
def analyze_driver_vs_reference(outcomes, component_ref, component_driver,
|
||||||
ignored_suites, ignored_test=None):
|
ignored_suites, ignored_test=None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user