diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-09 13:19:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-14 22:22:06 +0100 |
commit | 996aaf93ffd366af571581573f3f993e45b9fcea (patch) | |
tree | 933fc568ac4047aac814078a83e3288c23227c45 /meta/classes/utils.bbclass | |
parent | 4359f8cce66ba0a51fcd62fa2fadb52d69f60736 (diff) | |
download | poky-996aaf93ffd366af571581573f3f993e45b9fcea.tar.gz |
oeqa/parselogs: Don't use cwd for file transfers
If you run:
MACHINE=A bitbake <image> -c testimage
MACHINE=B bitbake <image> -c testimage
and A has errors in parselogs, machine B can pick these up and cause
immense confusion. This is because the test transfers the log files
to cwd which is usually TOPDIR. This is clearly bad and this patch
uses a subdir of WORKDIR to ensure machines don't contaminate each
other.
Also ensure any previous logs are cleaned up from any existing
transfer directory.
(From OE-Core rev: ac8f1e58ca3a0945795087cad9443be3e3e6ead8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/utils.bbclass')
0 files changed, 0 insertions, 0 deletions