diff options
author | Leo wang <grakiss.wanglei@huawei.com> | 2017-09-28 08:34:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-09-28 08:34:50 +0000 |
commit | 0cc2fdefa9e6e959e7c69beede736738f339f636 (patch) | |
tree | 8b4a77df96b6cb4984627e5b5ba91b67b99b6490 | |
parent | 465f738554c1c401707036a055577b35f7c06dca (diff) | |
parent | b57330821bd12844185bf315ffc7d6a6637ba79d (diff) |
Merge "Don't generate tar file when run without pushing results to DB"
-rwxr-xr-x | dovetail/run.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dovetail/run.py b/dovetail/run.py index c7496475..7de4c814 100755 --- a/dovetail/run.py +++ b/dovetail/run.py @@ -298,7 +298,8 @@ 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)) |