summaryrefslogtreecommitdiffstats
path: root/testcases/OpenStack/tempest/run_tempest.py
diff options
context:
space:
mode:
authormeimei <meimei@huawei.com>2016-08-12 11:46:53 +0800
committermeimei <meimei@huawei.com>2016-08-12 11:46:53 +0800
commita3e2a96de1bdbaca8927079c9d406bffc8307ded (patch)
tree1b2040f19a6acc26ffe53d0302e234ab939c2752 /testcases/OpenStack/tempest/run_tempest.py
parent7613b8b1d4b6f1048392d54afe8a6a3a9a4da6bd (diff)
[bugfix] pass the wrong argument to rally
Change-Id: I23ff06b53e45e9aa226f430e7d2fb75025281b9e Signed-off-by: meimei <meimei@huawei.com>
Diffstat (limited to 'testcases/OpenStack/tempest/run_tempest.py')
-rwxr-xr-xtestcases/OpenStack/tempest/run_tempest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testcases/OpenStack/tempest/run_tempest.py b/testcases/OpenStack/tempest/run_tempest.py
index 3a8d8d72a..5925b5845 100755
--- a/testcases/OpenStack/tempest/run_tempest.py
+++ b/testcases/OpenStack/tempest/run_tempest.py
@@ -422,7 +422,8 @@ def main():
deployment_dir = ft_utils.get_deployment_dir(logger)
- if "" != args.conf:
+ if "" == args.conf:
+ MODE = ""
configure_tempest(deployment_dir)
else:
MODE = " --tempest-config " + args.conf