Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 4c11104

Browse files
committed
Merge pull request #101 from dawagner/xml-coverage-fix
xml coverage: fix a copy-paste mistake Commit ccb164c introduced the possibility to ignore changes to unknown criterion through an option passed to coverage.py but a copy-paste mistake swapped the action of this option with the option ignoring incoherent criterion state changes. Both flags are set by 'aplog2coverage.sh -f' so the mistake went unnoticed but it must be fixed nevertheless. Signed-off-by: David Wagner [email protected]
2 parents ec4f597 + 77f3390 commit 4c11104

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/coverage/coverage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,10 +1021,10 @@ def __init__(self):
10211021
errorToIgnore.append(Configuration.IneligibleConfigurationAppliedError)
10221022

10231023
if options.incoherentCriterionFlag:
1024-
errorToIgnore.append(ParsePFWlog.ChangeRequestOnUnknownCriterion)
1024+
errorToIgnore.append(Criterion.ChangeRequestToNonAccessibleState)
10251025

10261026
if options.unknwonCriterionFlag:
1027-
errorToIgnore.append(Criterion.ChangeRequestToNonAccessibleState)
1027+
errorToIgnore.append(ParsePFWlog.ChangeRequestOnUnknownCriterion)
10281028

10291029
self.errorToIgnore = tuple(errorToIgnore)
10301030

0 commit comments

Comments
 (0)