All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mikko Rapeli <mikko.rapeli@linaro.org>
To: mathieu.poirier@linaro.org
Cc: Jon Mason <jdmason@kudzu.us>,
	jon.mason@arm.com, ross.burton@arm.com,
	meta-arm@lists.yoctoproject.org
Subject: Re: [meta-arm] [PATCH v3] arm/trusted-firmware-rmm: Add bitbake, include and patch file for RMM
Date: Fri, 26 Apr 2024 10:41:56 +0300	[thread overview]
Message-ID: <ZitaxMaL9hCaVWIh@nuoska> (raw)
In-Reply-To: <CANLsYkwzNp7QW_cAn-0Mt=r0rFJyFt0NAxc8S8f2uYCibrngzA@mail.gmail.com>

Hi,

On Wed, Apr 24, 2024 at 10:18:37AM -0600, Mathieu Poirier via lists.yoctoproject.org wrote:
> On Tue, 23 Apr 2024 at 12:15, Jon Mason <jdmason@kudzu.us> wrote:
> > Please do keep abreast of the upstream changes, as I'd like for there
> > to be a CI testcase once that part is sorted out (and I'm counting on
> > you to add the CI test).
> >
> 
> Is there a documented process for CI?  I looked in the README.md, the
> documentation and CI folders but found nothing of that sort.  Due to
> their similarities, I'll start looking into what is done for Hafnium.

I had similar questions after breaking thing:

.gitlab-ci.yml and ci directories have the magic build and test matrix.

For example qemuarm64-secureboot machine build and tests are run with
this command which Ross showed me over irc:

$ kas build ci/qemuarm64-secureboot.yml:ci/testimage.yml

To debug the build and test environment you can run:

$ kas shell ci/qemuarm64-secureboot.yml:ci/testimage.yml

and then there to check how image and other variables
are formed:

$ bitbake -e core-image-base | less

To boot into the image shell manually (testimage does this automatically):

$ runqemu slirp nographic novga core-image-base

The ci/testimge.yml config runs oeqa runtime tests which
are defined TEST_SUITES variable. Tests live in
${LAYER}/lib/oeqa/runtime/cases/ as .py files, and
basically execute commands on the booted qemu target with
ssh. Often tests need additional binaries on target image
which are installed via IMAGE_INSTALL variable in kas config
files for the machine, and then test, which is part of
TEST_SUITES variable, just runs the binaries and checks
return values.

https://docs.yoctoproject.org/dev/singleindex.html#running-tests

Hope this helps,

-Mikko


  parent reply	other threads:[~2024-04-26  7:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-05 15:48 [PATCH v3] arm/trusted-firmware-rmm: Add bitbake, include and patch file for RMM Mathieu Poirier
2024-04-08 14:00 ` Jon Mason
2024-04-12 16:20   ` Mathieu Poirier
2024-04-23 15:50 ` Mathieu Poirier
2024-04-23 18:15   ` Jon Mason
2024-04-24 16:18     ` Mathieu Poirier
2024-04-25 14:34       ` Jon Mason
2024-04-26  7:41       ` Mikko Rapeli [this message]
2024-05-03 15:06 ` Jon Mason

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=ZitaxMaL9hCaVWIh@nuoska \
    --to=mikko.rapeli@linaro.org \
    --cc=jdmason@kudzu.us \
    --cc=jon.mason@arm.com \
    --cc=mathieu.poirier@linaro.org \
    --cc=meta-arm@lists.yoctoproject.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 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.