summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdovetail/run.py3
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))