summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo wang <grakiss.wanglei@huawei.com>2017-08-11 01:42:36 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-11 01:42:36 +0000
commit4ee77d5799f1ba5011d11a576a25bdcaeac74187 (patch)
tree62f56bcf9757e5d3d36a7267fba1ff2d1335c7e1
parent917324958d10cc0e82226a0eac721312b88367c1 (diff)
parent438600edbe022ae22200f909b4a344e9d50d7465 (diff)
Merge "create a tar file for logs"
-rw-r--r--dovetail/report.py1
-rwxr-xr-xdovetail/run.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/dovetail/report.py b/dovetail/report.py
index fc707a37..b2bf2270 100644
--- a/dovetail/report.py
+++ b/dovetail/report.py
@@ -160,7 +160,6 @@ class Report(object):
report_txt += sub_report[key]
cls.logger.info(report_txt)
- cls.save_logs()
# cls.save(report_txt)
return report_txt
diff --git a/dovetail/run.py b/dovetail/run.py
index 7515023b..01111dd3 100755
--- a/dovetail/run.py
+++ b/dovetail/run.py
@@ -276,6 +276,7 @@ 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()
else:
logger.error('Invalid input commands, testsuite {} testarea {}'
.format(kwargs['testsuite'], testarea))