aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci/tier_builder.py
diff options
context:
space:
mode:
Diffstat (limited to 'functest/ci/tier_builder.py')
-rw-r--r--functest/ci/tier_builder.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/functest/ci/tier_builder.py b/functest/ci/tier_builder.py
index e1939c37..12562f09 100644
--- a/functest/ci/tier_builder.py
+++ b/functest/ci/tier_builder.py
@@ -47,12 +47,15 @@ class TierBuilder(object):
dep = th.Dependency(installer, scenario)
testcase = th.TestCase(name=dic_testcase['case_name'],
+ enabled=dic_testcase.get(
+ 'enabled', True),
dependency=dep,
criteria=dic_testcase['criteria'],
blocking=dic_testcase['blocking'],
clean_flag=dic_testcase['clean_flag'],
description=dic_testcase['description'])
- if testcase.is_compatible(self.ci_installer, self.ci_scenario):
+ if (testcase.is_compatible(self.ci_installer, self.ci_scenario)
+ and testcase.is_enabled()):
tier.add_test(testcase)
self.tier_objects.append(tier)