diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-01-14 11:45:19 +0100 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2016-01-14 13:44:20 +0100 |
commit | cdf5e6a2fd05f07a5db92175777113d732258a94 (patch) | |
tree | fb62a35e92d7618be1a8018d03eac527749926d7 /testcases/config_functest.py | |
parent | 04d586e1563dd263bf1e7aeb052c9d397ecf5c8a (diff) |
set up mechanism to tun only runnable tests in CI based on scenario
JIRA: FUNCTEST-119
Change-Id: I342c027c79fab1cc9fa65ddf8222e7b12b946af8
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'testcases/config_functest.py')
-rwxr-xr-x | testcases/config_functest.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testcases/config_functest.py b/testcases/config_functest.py index d392d5575..19d894fb7 100755 --- a/testcases/config_functest.py +++ b/testcases/config_functest.py @@ -128,6 +128,11 @@ def action_start(): if not os.path.exists(RALLY_RESULT_DIR): os.makedirs(RALLY_RESULT_DIR) + try: + functest_utils.generateTestcaseList(functest_yaml) + except: + logger.info("Not CI mode. Test cases list not generated.") + exit(0) |