aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci/run_tests.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-02-10 12:57:35 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2018-02-10 12:59:11 +0100
commita7bb4ff6481247a33c1f6c4152dc86820332ce9a (patch)
tree835cfdbdaa00d968f3f9a005065a605f7ba5fcbb /functest/ci/run_tests.py
parent6fc64d9e03d3e34a55c2792fa2e80c1b9a4b93a0 (diff)
Run all daily testcases if CI_LOOP is unset
Then CI_LOOP is no longer mandatory and it bypasses the current jenkins jobs's issue [1][2][3]. [1] https://gerrit.opnfv.org/gerrit/#/c/51981/ [2] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/763/console [3] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/764/console Change-Id: I73629079d70e0f43e609d3861490573e10fd216c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/ci/run_tests.py')
-rw-r--r--functest/ci/run_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/ci/run_tests.py b/functest/ci/run_tests.py
index 8c0b11b1..ff38720d 100644
--- a/functest/ci/run_tests.py
+++ b/functest/ci/run_tests.py
@@ -207,8 +207,8 @@ class Runner(object):
field_names=['tiers', 'order', 'CI Loop', 'description',
'testcases'])
for tier in self.tiers.get_tiers():
- ci_loop = os.environ.get('CI_LOOP', None)
- if (tier.get_tests() and ci_loop and
+ ci_loop = os.environ.get('CI_LOOP', 'daily')
+ if (tier.get_tests() and
re.search(ci_loop, tier.get_ci_loop()) is not None):
tiers_to_run.append(tier)
msg.add_row([tier.get_name(), tier.get_order(),