From 12d9c82b31650d307e3834e435e1f5f54e3832d0 Mon Sep 17 00:00:00 2001 From: David Wagner Date: Mon, 20 Apr 2015 10:51:29 +0200 Subject: xml coverage: fix a copy-paste mistake Commit ccb164c15d0f46fb233b67075f37bede8f8ad855 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 --- tools/coverage/coverage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/coverage/coverage.py b/tools/coverage/coverage.py index 6879460..0a23285 100755 --- a/tools/coverage/coverage.py +++ b/tools/coverage/coverage.py @@ -1021,10 +1021,10 @@ class ArgumentParser: errorToIgnore.append(Configuration.IneligibleConfigurationAppliedError) if options.incoherentCriterionFlag: - errorToIgnore.append(ParsePFWlog.ChangeRequestOnUnknownCriterion) + errorToIgnore.append(Criterion.ChangeRequestToNonAccessibleState) if options.unknwonCriterionFlag: - errorToIgnore.append(Criterion.ChangeRequestToNonAccessibleState) + errorToIgnore.append(ParsePFWlog.ChangeRequestOnUnknownCriterion) self.errorToIgnore = tuple(errorToIgnore) -- cgit v1.1