summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/yardstick/reporting-status.py
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2016-09-20 07:47:21 +0000
committerchenjiankun <chenjiankun1@huawei.com>2016-09-20 07:52:08 +0000
commitb5c5476bf5b6e5a38503f43abc5afc5a8a0d151b (patch)
treecd363e96ba614fbc71647f40a9fa361ad3161a08 /utils/test/reporting/yardstick/reporting-status.py
parenta0a65ceb7af1e950dba78c9de6510c9162d4b3d0 (diff)
Make a black list for yardstick reporting
JIRA: YARDSTICK-353 Change-Id: Ic4821ff279401cc4eb26d172c0b649e9eeb2da48 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'utils/test/reporting/yardstick/reporting-status.py')
-rw-r--r--utils/test/reporting/yardstick/reporting-status.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/test/reporting/yardstick/reporting-status.py b/utils/test/reporting/yardstick/reporting-status.py
index 345acef42..60f1523bb 100644
--- a/utils/test/reporting/yardstick/reporting-status.py
+++ b/utils/test/reporting/yardstick/reporting-status.py
@@ -16,6 +16,7 @@ import yaml
import reportingUtils as utils
import reportingConf as conf
import scenarioResult as sr
+from scenarios import config as cf
# Logger
logger = utils.getLogger("Yardstick-Status")
@@ -41,6 +42,10 @@ for version in conf.versions:
scenario_results[k] += stable_result[k]
scenario_result_criteria = {}
+ for s in scenario_results.keys():
+ if cf.has_key(installer) and cf[installer].has_key(s):
+ scenario_results.pop(s)
+
# From each scenarios get results list
for s, s_result in scenario_results.items():
logger.info("---------------------------------")