]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/selftest: OESelftestTestContext: convert relative to full path when newbuilddir...
authorJose Quaresma <quaresma.jose@gmail.com>
Mon, 27 Mar 2023 15:59:37 +0000 (15:59 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Mar 2023 21:28:42 +0000 (22:28 +0100)
commit2e022c1977bc1006c00a87e08a2dca5b69db4801
tree19808af73b3f50de2fb9f4242193111a5378315b
parent193d8f0d6383f54c61f90d58eeb8f41580c2360a
oeqa/selftest: OESelftestTestContext: convert relative to full path when newbuilddir is provided

Relative paths in BBLAYERS only works when the new build dir are on the same
ascending directory node:
 .
 ├── build
 ├── build-st

It works because they share the same ascending relative directory node.

So use the full path when the argument newbuilddir is provided
to make the oe-selftest work everywere regardless of the location chosen.

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/lib/oeqa/selftest/context.py