Thanks alex, I made mistake for cargo-native, I meant cargo cross compiled for the test image of course.
Anyway, I'll build something and submit some patch as soon as I'm happy with the code. Le jeu. 20 avr. 2023, 11:25, Alexander Kanavin <[email protected]> a écrit : > I'm not sure anyone can really give qualified answers, you just need > to write down some code and iteratively get it to something you like. > You don't have to show your work in progress, if you think it looks > horrible :) > > Question 1 is odd: cargo-native would not run in target images, so you > can't add it to them. > > Alex > > On Thu, 20 Apr 2023 at 09:27, Frederic Martinsons > <[email protected]> wrote: > > > > Hello, > > > > I would like to build and ship tests for recipes which uses cargo and in > the process, three questions arose (maybe more when I will progress). > > I would like to have your opinions on them. > > > > 1) should we ship cargo-native in ptest images or should we just build > and ship test binaries alone ? > > 2) should we place the cargo ptest specifics in a dedicated class (e.g > ptest-cargo.bbclass, like already existing ptest-gnome or ptest-perl) or > put this in cargo.bbclass itself ? > > 3) should we embed all kind of tests (unit, integration and doc tests, > see https://doc.rust-lang.org/book/ch11-03-test-organization.html) or > just the unit tests ? > > > > Thank you very much for all insights you could give on this matter. > > > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#180244): https://lists.openembedded.org/g/openembedded-core/message/180244 Mute This Topic: https://lists.openembedded.org/mt/98384286/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
