]> 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)
committerSteve Sakoman <steve@sakoman.com>
Wed, 5 Apr 2023 16:24:00 +0000 (06:24 -1000)
commit41f169ea23078cc8f4a6b6fc6b59230f05cb758b
treea333601b05d8f29eddc0b55b7bff77f24d336b93
parent273cc6d6a11c4f11f80830f23489a287f38c1a17
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>
(cherry picked from commit 2e022c1977bc1006c00a87e08a2dca5b69db4801)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/selftest/context.py