summaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/VIM/OpenStack/CI/libraries')
-rw-r--r--testcases/VIM/OpenStack/CI/libraries/run_tempest.py6
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)