aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Wagner <david.wagner@intel.com>2015-04-20 10:51:29 +0200
committerEric Laurent <elaurent@google.com>2015-04-24 13:39:15 -0700
commit12d9c82b31650d307e3834e435e1f5f54e3832d0 (patch)
tree870ea4bef509979fb237f32695e8fd3932e2b25a
parentb615ea34d81f426b0b3e2e4f3ffd9b1da34d9b36 (diff)
downloadexternal_parameter-framework-12d9c82b31650d307e3834e435e1f5f54e3832d0.zip
external_parameter-framework-12d9c82b31650d307e3834e435e1f5f54e3832d0.tar.gz
external_parameter-framework-12d9c82b31650d307e3834e435e1f5f54e3832d0.tar.bz2
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 <david.wagner@intel.com>
-rwxr-xr-xtools/coverage/coverage.py4
1 files 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)