Ah!

Alright, I'll try to setup a devtool test which demonstrate the usage of git subpath with the zvariant.
I'll then issue a V4 series which reintroduce the zvariant recipe in meta-selftest and the unit test on it.

I must admit I felt in love for rust since the beginning of the year and considering that I use yocto on a daily basis, I'll do everything I can to extend the support of developing rust for embedded devices.

Thank you all for the advices. 

Le lun. 27 mars 2023, 16:25, Alexander Kanavin <alex.kanavin@gmail.com> a écrit :
So if devtool tests would operate on zvariant recipe, then the recipe
can simply go into meta-selftest after all :)

Alex

On Mon, 27 Mar 2023 at 16:20, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> On Sat, 2023-03-25 at 10:00 +0100, Frederic Martinsons wrote:
> > From: Frederic Martinsons <frederic.martinsons@gmail.com>
> >
> > This series brings the support of local git repository inside
> > a cargo based recipe.
> >
> > It also enable devtool capacity on it and provide a real crate
> > example recipe to show how things are done.
> >
> > The following changes since commit 4876189dd2ae5a04a296b11b537b9f613159c6bf:
> >
> >   xcb-proto: Fix install conflict when enable multilib. (2023-03-23 22:38:41 +0000)
> >
> > are available in the Git repository at:
> >
> >   https://gitlab.com/fmartinsons/openembedded-core cargo-extend-support-git-and-devtool
> >
> > Alex Kiernan (1):
> >   cargo_common.bbclass: Support local github repos
> >
> > Frederic Martinsons (4):
> >   cargo_common.bbclass: add support of user in url for patch
> >   rust-example: provide a recipe for zvariant
> >   devtool: add support for multiple git url inside a cargo based recipe
> >   patch: support of git patches when the source uri contained subpath
> >     param
>
> The various rust/cargo/crate patches look like they're heading in a
> good direction, thanks!
>
> The one thing which I think is missing is more support for testing some
> of these changes in our automated testing.
>
> In particular, devtool does have a decent test suite so we should
> ensure new devtool additions have tests.
>
> You can see the devtools tests in
> meta/lib/oeqa/selftest/cases/devtool.py and run them with a command
> like "oe-selftest -r devtool -j 3" for example.
>
> Cheers,
>
> Richard
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#179160): https://lists.openembedded.org/g/openembedded-core/message/179160
> Mute This Topic: https://lists.openembedded.org/mt/97840361/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>