public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: ross.burton@arm.com, "Martin Hundebøll" <martin@geanix.com>
Cc: "openembedded-core@lists.openembedded.org"
	<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH v3 1/2] ell: add ptests
Date: Fri, 02 Aug 2024 13:51:45 +0100	[thread overview]
Message-ID: <b1828490c77c3546ce1b263cf4968bd25f52a573.camel@linuxfoundation.org> (raw)
In-Reply-To: <AE35C2E5-DFDE-4817-8068-95D30C567870@arm.com>

On Fri, 2024-08-02 at 12:36 +0000, Ross Burton via
lists.openembedded.org wrote:
> On 1 Aug 2024, at 09:22, Martin Hundeb?ll via lists.openembedded.org
> <martin=geanix.com@lists.openembedded.org> wrote:
> > diff --git a/meta/recipes-core/ell/ell_0.67.bb b/meta/recipes-
> > core/ell/ell_0.67.bb
> > index 6b0ebbe62113..ee9aa73d2908 100644
> > --- a/meta/recipes-core/ell/ell_0.67.bb
> > +++ b/meta/recipes-core/ell/ell_0.67.bb
> > @@ -10,9 +10,27 @@ SECTION = "libs"
> > LICENSE  = "LGPL-2.1-only"
> > LIC_FILES_CHKSUM =
> > "file://COPYING;md5=fb504b67c50331fc78734fed90fb0e09"
> > 
> > -DEPENDS = "dbus"
> > +DEPENDS = "dbus openssl-native xxd-native"
> 
> This should be conditional on ptest, right?
> 
> > +EXTRA_OECONF += "--enable-tests --enable-maintainer-mode"
> 
> Make this conditional on ptest too?
> 
> > +do_compile:prepend() {
> > +    mkdir -p ${B}/unit
> > +}
> 
> This sounds like a broken Makefile.am that has a bad assumption in.
> 
> > +do_install_ptest() {
> > +    install -m755 -Dt ${D}${PTEST_PATH} $(find ${B}/unit -
> > executable -type f)
> > +    install -Dt ${D}${PTEST_PATH}/unit \
> > +        ${S}/unit/dbus.conf \
> > +        ${S}/unit/settings.test \
> > +        $(find ${B}/unit -name \*.pem -type f)
> > +}
> 
> As the test scripts are built with libtool, it’s best to use libtool
> —mode=install to install them.

Thanks for the review Ross. There was also a failure in automated
testing on the autobuilder:

https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/6864/steps/12/logs/stdio

The arm tests haven't run yet in that build.

Cheers,

Richard




  reply	other threads:[~2024-08-02 12:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-01  8:22 [PATCH v3 1/2] ell: add ptests Martin Hundebøll
2024-08-01  8:22 ` [PATCH v3 2/2] ofono: " Martin Hundebøll
2024-08-02 12:39   ` [OE-core] " Ross Burton
2024-08-02 12:36 ` [OE-core] [PATCH v3 1/2] ell: " Ross Burton
2024-08-02 12:51   ` Richard Purdie [this message]
2024-08-03 21:07     ` Alexandre Belloni

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=b1828490c77c3546ce1b263cf4968bd25f52a573.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=martin@geanix.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@arm.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox