summaryrefslogtreecommitdiffstats
path: root/dovetail
diff options
context:
space:
mode:
authorgrakiss <grakiss.wanglei@huawei.com>2017-08-10 10:03:13 +0800
committergrakiss <grakiss.wanglei@huawei.com>2017-08-10 10:05:27 +0800
commit438600edbe022ae22200f909b4a344e9d50d7465 (patch)
tree677a1016dbb7070875245215cd4a3984266c748b /dovetail
parent0037e756452b042cdba50a28285cc9f9797b0586 (diff)
create a tar file for logs
JIRA: DOVETAIL-479 User may want to upload all logs along with the results, so others may check the running logs to make sure what' s going on during the test. Change-Id: Ice906264bbdf091d3353d6d2e146653aeb057f5f Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
Diffstat (limited to 'dovetail')
-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))