Yeah not sure how that happened! V2 incoming :)
On Thu, 22 Jul 2021 at 07:50, Richard Purdie <richard.pur...@linuxfoundation.org> wrote: > > On Wed, 2021-07-21 at 14:54 +0100, Ross Burton wrote: > > Add a testsdk task, which is essentially the same as testsdk.bbclass but > > the test case directory is changed. This lets us exercise the > > buildtools tarballs at build time. > > > > Signed-off-by: Ross Burton <ross.bur...@arm.com> > > --- > > meta/recipes-core/meta/buildtools-tarball.bb | 11 +++++++++++ > > 1 file changed, 11 insertions(+) > > > > diff --git a/meta/recipes-core/meta/buildtools-tarball.bb > > b/meta/recipes-core/meta/buildtools-tarball.bb > > index b5dae176bf..67a6d81ddd 100644 > > --- a/meta/recipes-core/meta/buildtools-tarball.bb > > +++ b/meta/recipes-core/meta/buildtools-tarball.bb > > @@ -99,3 +99,14 @@ TOOLCHAIN_NEED_CONFIGSITE_CACHE = "" > > > > > > # The recipe doesn't need any default deps > > INHIBIT_DEFAULT_DEPS = "1" > > + > > +python do_testsdk() { > > + import oeqa.sdk.testsdk > > + testsdk = oeqa.sdk.testsdk.TestSDK() > > + > > os.path.join(os.path.abspath(os.path.dirname(oeqa.sdk.testsdk.__file__)), > > "buildtools-cases") > > + testsdk.context_executor_class.default_cases = > > "/home/ross/Yocto/poky/meta/lib/oeqa/sdk/buildtools-cases" > > This looks like a good idea, I'm happy to see it but I think the line above > may > need a small tweak! :) > > Cheers, > > Richard >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#154616): https://lists.openembedded.org/g/openembedded-core/message/154616 Mute This Topic: https://lists.openembedded.org/mt/84356744/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-