]> code.ossystems Code Review - openembedded-core.git/commit
parselogs.py: output correct log location
authorChen Qi <Qi.Chen@windriver.com>
Mon, 13 Aug 2018 08:54:37 +0000 (16:54 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 Aug 2018 10:36:22 +0000 (11:36 +0100)
commitdf3a2e21648d6b649ebda7e6032afbd63c939f2b
treeab85ac43c25046f352285d31c98933eef8f584f6
parent95162276b169b84d61eaa73416cf0838a0a8a8bd
parselogs.py: output correct log location

The log entry in results is altered to remove 'target_logs'. This
causes wrong log location in output.

e.g.
   AssertionError: 1 != 0 : Log: /path/to/image/1.0-r0/postinstall.log

But when user wants to check the log, the user will find the log is
not present. The actual log file is /path/to/image/1.0-r0/target_logs/postinstall.log.

So fix to use the correct log location.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/parselogs.py