aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-29 12:07:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-01 11:37:49 +0000
commit750ece11bed0e62a11e0003d1d16a81f7c219761 (patch)
treec3737b069ce6b1db02794f3679f014aa826486cf /meta/recipes-extended
parent0772b6de9dfbb276845c0a08ebcce41896b8056e (diff)
downloadopenembedded-core-contrib-750ece11bed0e62a11e0003d1d16a81f7c219761.tar.gz
openembedded-core-contrib-750ece11bed0e62a11e0003d1d16a81f7c219761.tar.bz2
openembedded-core-contrib-750ece11bed0e62a11e0003d1d16a81f7c219761.zip
oeqa/selftest/context: Improve log file handling
The existing logfile is simply placed in the current directory. Since the test changes cwd to BUILDDIR, the symlink to the log can be placed in an invalid directory. We also see trackbacks if the symlink is invalid. Improve things by: * Placing logs in LOG_DIR (or BUILDDIR if unset). * Using a full path to the log meaning the log and link are placed in the same directory. * Using lexists instead of exists so invalid symlinks are handled correctly. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
0 files changed, 0 insertions, 0 deletions