diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-01-03 08:40:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-01-03 08:40:32 +0000 |
commit | 91753df2c0b3e58bea62716a48e9a74bd9d43b45 (patch) | |
tree | 2ae6a172788a926a82b58284a01bed204f52838c /testcases/VIM/OpenStack/CI/libraries/run_tempest.py | |
parent | a90c42e54bbc84dc63db2e58c6366c020fefdad8 (diff) | |
parent | c7a557e16a7dfa50d904b2c1a15d9448a9ab9d09 (diff) |
Merge "Support for customized tempest case list"
Diffstat (limited to 'testcases/VIM/OpenStack/CI/libraries/run_tempest.py')
-rw-r--r-- | testcases/VIM/OpenStack/CI/libraries/run_tempest.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testcases/VIM/OpenStack/CI/libraries/run_tempest.py b/testcases/VIM/OpenStack/CI/libraries/run_tempest.py index de91bf110..41fd4b7cb 100644 --- a/testcases/VIM/OpenStack/CI/libraries/run_tempest.py +++ b/testcases/VIM/OpenStack/CI/libraries/run_tempest.py @@ -20,7 +20,7 @@ import yaml modes = ['full', 'smoke', 'baremetal', 'compute', 'data_processing', 'identity', 'image', 'network', 'object_storage', 'orchestration', - 'telemetry', 'volume'] + 'telemetry', 'volume', 'custom'] """ tests configuration """ parser = argparse.ArgumentParser() @@ -151,8 +151,10 @@ def main(): logger.error("Tempest mode not valid. Possible values are:\n" + str(modes)) exit(-1) + elif (args.mode == 'custom'): + MODE = "--tests-file "+REPO_PATH+"testcases/VIM/OpenStack/CI/custom_tests/test_list.txt" else: - MODE = args.mode + MODE = "--set "+args.mode run_tempest(MODE) |