aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()