提交 49f6d516 编写于 作者: L Lucas Meneghel Rodrigues

avocado.test: Save whiteboard to a file in the results dir

For convenience, save the contents of the whiteboard
into a file 'whiteboard', inside the test results.
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 69971505
......@@ -430,6 +430,9 @@ class Test(unittest.TestCase):
log_exc_info(sys.exc_info())
cleanup_exception = details
whiteboard_file = os.path.join(self.logdir, 'whiteboard')
io.write_file(whiteboard_file, self.whiteboard)
if self.job is not None:
job_standalone = self.job.args is None
no_record_mode = (not job_standalone and
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册