Code Review
/
functest-xtesting.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
6fc64d9
)
Run all daily testcases if CI_LOOP is unset
author
Cédric Ollivier
<cedric.ollivier@orange.com>
Sat, 10 Feb 2018 11:57:35 +0000
(12:57 +0100)
committer
Cédric Ollivier
<cedric.ollivier@orange.com>
Sat, 10 Feb 2018 11:59:11 +0000
(12:59 +0100)
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>
functest/ci/run_tests.py
patch
|
blob
|
history
diff --git
a/functest/ci/run_tests.py
b/functest/ci/run_tests.py
index
8c0b11b
..
ff38720
100644
(file)
--- 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(),