Re: [OE-core] [PATCH] scripts/oe-selftest: Add support for selftest log with timestamp

2015-12-21 Thread Burton, Ross
On 19 December 2015 at 19:41, Costin Constantin < costin.c.constan...@intel.com> wrote: > +log_file = "oe-selftest-" + t.strftime("%Y-%m-%d_%H:%M:%S") + ".log" > +if os.path.exists("oe-selftest.log"): os.remove("oe-selftest.log") > +os.symlink(log_file, "oe-selftest.log") > Wouldn't

[OE-core] [PATCH] scripts/oe-selftest: Add support for selftest log with timestamp

2015-12-19 Thread Costin Constantin
Each time oe-selftest runs, the oe-selftest.log file is overwritten. This patch solves it by adding time stamp to each selftest log file and doing a symlink named as oe-selftest.log to the last one created. Signed-off-by: Costin Constantin --- scripts/oe-selftest