From 77f33906cd041fdf400205a2f6ff2a15c2584dba Mon Sep 17 00:00:00 2001 From: David Wagner Date: Mon, 20 Apr 2015 10:51:29 +0200 Subject: [PATCH] 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 687946092..0a23285a1 100755 --- a/tools/coverage/coverage.py +++ b/tools/coverage/coverage.py @@ -1021,10 +1021,10 @@ def __init__(self): 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)