All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <nmjain23@gmail.com>, <openembedded-core@lists.openembedded.org>
Cc: <Virendra.Thakur@kpit.com>
Subject: Re: [OE-core] [PATCH] libmd: add ptest for 'libmd'
Date: Mon, 22 Sep 2025 19:03:08 +0200	[thread overview]
Message-ID: <DCZHP9FR7V02.2SO4MZM8WKHJ@bootlin.com> (raw)
In-Reply-To: <20250919120527.1517036-1-namanj1@kpit.com>

On Fri Sep 19, 2025 at 2:05 PM CEST, Naman Jain via lists.openembedded.org wrote:
> diff --git a/meta/recipes-support/libmd/libmd_1.1.0.bb b/meta/recipes-support/libmd/libmd_1.1.0.bb
> index dc588a0f95..a39a5ec65b 100644
> --- a/meta/recipes-support/libmd/libmd_1.1.0.bb
> +++ b/meta/recipes-support/libmd/libmd_1.1.0.bb
> @@ -11,6 +11,21 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0436d4fb62a71f661d6e8b7812f9e1df"
>  SRC_URI = "https://archive.hadrons.org/software/libmd/libmd-${PV}.tar.xz"
>  SRC_URI[sha256sum] = "1bd6aa42275313af3141c7cf2e5b964e8b1fd488025caf2f971f43b00776b332"
>  
> -inherit autotools
> +inherit autotools ptest
> +
> +do_compile_ptest() {
> +    sed -i "/\$(MAKE) \$(AM_MAKEFLAGS) check-TESTS/d" test/Makefile
> +    oe_runmake check
> +}
> +
> +
> +do_install_ptest() {
> +    install -d ${D}${PTEST_PATH}/test
> +    for bin in ${B}/test/*; do
> +        if [ -x "$bin" ]; then
> +            libtool --mode=install install "$bin" ${D}${PTEST_PATH}/test/$(basename "$bin")

Hi Naman,

Can you use ${B}/libtool here instead of libtool? It looks like it
should fix the issue we are seeing.

> +        fi
> +    done
> +}
>  
>  BBCLASSEXTEND = "native nativesdk"

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



  parent reply	other threads:[~2025-09-22 17:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-19 12:05 [PATCH] libmd: add ptest for 'libmd' Naman Jain
2025-09-21 12:28 ` [OE-core] " Mathieu Dubois-Briand
2025-09-22  8:22   ` Naman Jain
2025-09-22 10:16   ` Naman Jain
2025-09-22 13:47     ` Mathieu Dubois-Briand
2025-09-22 17:03 ` Mathieu Dubois-Briand [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-08-18  8:15 [OE-core][PATCH] " rajmohan r
2025-08-24 14:02 ` Ross Burton
2025-08-28  9:57 ` Yoann Congal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DCZHP9FR7V02.2SO4MZM8WKHJ@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=Virendra.Thakur@kpit.com \
    --cc=nmjain23@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.