On 2024-12-21 7:13 p.m., Tom Hochstein via lists.openembedded.org wrote:
On 12/21/2024 4:33 PM, Khem Raj via lists.openembedded.org wrote:


On Sat, Dec 21, 2024 at 1:45 PM Tom Hochstein <tom.hochst...@oss.nxp.com <mailto:tom.hochst...@oss.nxp.com>> wrote:

    On 12/21/2024 2:10 PM, Khem Raj wrote:
     >
     > Tests sometimes do require additional packages and at times
     > development headers and libs
     > on target for different reasons and these dependencies may not be
     > needed for normal
     > functioning of the package. I would suggest to add them into image as
     > rdeps (if they are needed)
     > conditional upon ptests being enabled.
     >

    I don't see that weston references ptests. Is your comment a mistake,
    or do I misunderstand?


No you did not misunderstand. I am trying to help you


Hmm. Is there is meson option to disable/enable tests in Weston ? If so then you can disable the tests by default. Since the error seems to be showing a test configuration failure


Aha, we've gotten to the root now. We're building the tests folder but
not installing it. Will send a v2 that disables the unused tests build.


Better still is to install the tests along with dependencies only for the ptests as is done in many recipes,
for example wayland:

  install:
https://git.openembedded.org/openembedded-core/tree/meta/recipes-graphics/wayland/wayland_1.23.1.bb?h=master#n40

  ptest dependencies:
https://git.openembedded.org/openembedded-core/tree/meta/recipes-graphics/wayland/wayland_1.23.1.bb?h=master#n61

I don't know anything about the weston tests but hopefully it's not too complicated.

Ah, I see you've already sent a v3...

Would you have time to add ptest support as a follow-up commit?


../Randy



Tom






--
# Randy MacLeod
# Wind River Linux
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#209013): 
https://lists.openembedded.org/g/openembedded-core/message/209013
Mute This Topic: https://lists.openembedded.org/mt/110206258/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to