From 49f6d5164be33893181273cf67652363df4a63cd Mon Sep 17 00:00:00 2001 From: Lucas Meneghel Rodrigues Date: Tue, 7 Oct 2014 14:18:21 -0300 Subject: [PATCH] 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: Lucas Meneghel Rodrigues --- avocado/test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/avocado/test.py b/avocado/test.py index 36aa8e6e..007f6e6c 100644 --- a/avocado/test.py +++ b/avocado/test.py @@ -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 -- GitLab