]> code.ossystems Code Review - openembedded-core.git/commit
ptest.bbclass: Add feature to populate a binary directory
authorMariano Lopez <just.another.mariano@gmail.com>
Tue, 9 Apr 2019 05:44:13 +0000 (00:44 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Apr 2019 14:22:44 +0000 (15:22 +0100)
commitbca35319b89ce668927728c4e2094f6e10cef298
tree36c24cd1203efda41253e03d8fb763666c834f82
parent04d966c0a91c5e16555bba827969a0a2fd96bb96
ptest.bbclass: Add feature to populate a binary directory

This adds the functionality to create a binary directory within
PTEST_PATH directory. This directory will be populated with
symlinks pointing to the binaries installed by the package and
then renamed by update-alternatives. This way the ptest only needs
to source this binary directory in order to use the expected
binaries.

To enable this feature just add PTEST_BINDIR = "1" to the recipe.

[YOCTO #12597]
[YOCTO #13238]

Signed-off-by: Mariano Lopez <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/ptest.bbclass