Break the loop when case hits
We don't care about the number of hits of the test cases, so break the iteration when the case hits. Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
This commit is contained in:
parent
dd1d6a7cca
commit
f28cf594b1
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ def analyze_coverage(results, outcomes, allow_list, full_coverage):
|
|||
if suite_case in comp_outcomes["successes"] or \
|
||||
suite_case in comp_outcomes["failures"]:
|
||||
hits += 1
|
||||
break
|
||||
|
||||
if hits == 0 and suite_case not in allow_list:
|
||||
if full_coverage:
|
||||
|
|
Loading…
Reference in a new issue