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 | 5 +
1 file changed, 5 ins
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 i