Alexander Kanavin <[email protected]> escreveu no dia terça, 21/11/2023 à(s) 11:21:
> On Tue, 21 Nov 2023 at 12:12, Jose Quaresma <[email protected]> > wrote: > >> I was using it for running Unit Tests on the host before I deployed > >> them to the target device as ptest. This worked well. It is well > >> integrated with cmake and therefore also with IDEs. So I thought that > >> there are certain use cases where it would be nice to have it opt-in. > >> > >> meson offers qemu-user as well (because of gobject). So if qemu-user is > >> not usable there will be other challenges as well. > >> > >> There is also a MACHINE_FEATURE which allows to support it for ARCHs > >> where it works well but not for ARCHs where qemu-user is known to be > >> broken. > >> > >> I think it would be a nice optional feature. > > > > > > I agree without any doubt on that part. > > > > But I believe this doesn't work for applications that are using the fork > system call. > > So consider this will also break any ptest using fork, giving the wrong > impression the test is failing. > > I think this needs to be double checked. I find it odd that qemu > usermode would fail on such a basic thing, and it would not show up > anywhere in places where it's used in core (not just g-i - all the > various postinst utilities for generating indexes etc.). > > Alex > There is no recent information on the internet about the fork issue on qemu user mode so this may no longer be a problem. I can back again, not now, testing some of the oe-core packages who uses the meson build system to get some results about failing/passing. The approach is the same used in this patchset. It will be good also to have some numbers and example recipes in oe-core where we can use this patchset. In conclusion, this is really a great future imo and improves a lot the integrations of new tests in the ptest infrastructure. Jose -- Best regards, José Quaresma
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#191068): https://lists.openembedded.org/g/openembedded-core/message/191068 Mute This Topic: https://lists.openembedded.org/mt/102708283/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
