X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=functest%2Fci%2Ftier_builder.py;h=d2722dc224b639ff226fd26b9c90f00d41ab6ba1;hb=c9ef93de81e802bd01ec7381b243c724c38af34f;hp=12562f09c23fe70fe7684550c59839b6721e4b3a;hpb=1dd9e2509ac1c1002e75eb1f50eeab1606aa2d46;p=functest.git diff --git a/functest/ci/tier_builder.py b/functest/ci/tier_builder.py index 12562f09c..d2722dc22 100644 --- a/functest/ci/tier_builder.py +++ b/functest/ci/tier_builder.py @@ -1,11 +1,11 @@ #!/usr/bin/env python + +# Copyright (c) 2016 Ericsson AB and others. # -# jose.lausuch@ericsson.com # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 -# import tier_handler as th import yaml @@ -52,11 +52,14 @@ class TierBuilder(object): 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) - and testcase.is_enabled()): + description=dic_testcase['description'], + project=dic_testcase['project_name']) + if (testcase.is_compatible(self.ci_installer, + self.ci_scenario) and + testcase.is_enabled()): tier.add_test(testcase) + else: + tier.skip_test(testcase) self.tier_objects.append(tier)