summaryrefslogtreecommitdiffstats
path: root/dovetail/run.py
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/run.py
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/run.py')
-rwxr-xr-xdovetail/run.py1
1 files changed, 1 insertions, 0 deletions
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))