diff options
author | grakiss <grakiss.wanglei@huawei.com> | 2017-08-10 10:03:13 +0800 |
---|---|---|
committer | grakiss <grakiss.wanglei@huawei.com> | 2017-08-10 10:05:27 +0800 |
commit | 438600edbe022ae22200f909b4a344e9d50d7465 (patch) | |
tree | 677a1016dbb7070875245215cd4a3984266c748b /dovetail/run.py | |
parent | 0037e756452b042cdba50a28285cc9f9797b0586 (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-x | dovetail/run.py | 1 |
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)) |