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 <frederic.martins...@gmail.com> 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 (#180242): https://lists.openembedded.org/g/openembedded-core/message/180242 Mute This Topic: https://lists.openembedded.org/mt/98384286/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-