From: Leo wang Date: Fri, 29 Sep 2017 03:34:16 +0000 (+0000) Subject: Merge "Support to run mandatory or optional test cases separately" X-Git-Tag: ovp.0.9.0~83 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=f0633486049e9e2d09001fd5c2a599a722f76d03;p=dovetail.git Merge "Support to run mandatory or optional test cases separately" --- f0633486049e9e2d09001fd5c2a599a722f76d03 diff --cc dovetail/run.py index 7de4c814,eb2cc968..0306efe4 --- a/dovetail/run.py +++ b/dovetail/run.py @@@ -298,11 -282,10 +291,11 @@@ def main(*args, **kwargs) duration = run_test(testsuite_yaml, testarea, logger) if dt_cfg.dovetail_config['report_dest'] == "file": Report.generate(testsuite_yaml, testarea, duration) - Report.save_logs() + if dt_cfg.dovetail_config['report_dest'].startswith("http"): + Report.save_logs() else: logger.error('Invalid input commands, testsuite {} testarea {}' - .format(kwargs['testsuite'], testarea)) + .format(kwargs['testsuite'], origin_testarea)) dt_cfg.load_config_files()