]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
ptest-cargo.bbclass: Support of cargo workspaces
authorFrederic Martinsons <frederic.martinsons@gmail.com>
Sat, 29 Jul 2023 05:09:21 +0000 (07:09 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 30 Jul 2023 06:48:33 +0000 (07:48 +0100)
commit67644c3fa7d012ad03d0a876a281d5abd5edf7fe
treef96e61dafda1f30d6a6b711f365083427d259858
parent0a0a1731e38edfa72a141e8fd8f2de52be562e94
ptest-cargo.bbclass: Support of cargo workspaces

For complex project, it is very common to have multiple
sub artifacts and so use workspaces, sometimes it has
even no root artifacts (but several bin or lib) and
virtual manifest is used for that.

Long story short, support this case in ptest-cargo class
to look for all test binaries in the current project
and no more those generated by the root Cargo.toml

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/ptest-cargo.bbclass