aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2017-08-25 06:24:38 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-25 06:24:38 +0000
commitfb979fc03b8c744ea0f99658cf2edafe55c17299 (patch)
tree5f7668c61da4f60cae00989e4bf851de614904d5
parent5f18bc39015c906767b27596a0db6e7077500ff1 (diff)
parent4ae53d6e1a7f83bbdb8f6d5bc7a1c2f4dc02eb04 (diff)
Merge "Fix args parsing in run_tests"
-rw-r--r--functest/ci/run_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/ci/run_tests.py b/functest/ci/run_tests.py
index 87e3d37ba..feafa89e6 100644
--- a/functest/ci/run_tests.py
+++ b/functest/ci/run_tests.py
@@ -189,9 +189,9 @@ class Runner(object):
def main(self, **kwargs):
if 'noclean' in kwargs:
- self.clean_flag = False
+ self.clean_flag = not kwargs['noclean']
if 'report' in kwargs:
- self.report_flag = True
+ self.report_flag = kwargs['report']
try:
if 'test' in kwargs:
self.source_rc_file()