U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Simon Glass <sjg@chromium.org>
Cc: U-Boot Mailing List <u-boot@lists.denx.de>,
	Caleb Connolly <caleb.connolly@linaro.org>,
	Christian Marangi <ansuelsmth@gmail.com>,
	Guillaume La Roque <glaroque@baylibre.com>,
	Heinrich Schuchardt <xypron.glpk@gmx.de>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	Jerome Forissier <jerome.forissier@linaro.org>,
	Julien Masson <jmasson@baylibre.com>,
	Julius Lehmann <lehmanju@devpi.de>, Marek Vasut <marex@denx.de>,
	Mattijs Korpershoek <mkorpershoek@baylibre.com>,
	Patrick Rudolph <patrick.rudolph@9elements.com>,
	Richard Weinberger <richard@nod.at>,
	Stephen Warren <swarren@nvidia.com>,
	Stephen Warren <swarren@wwwdotorg.org>,
	Sughosh Ganu <sughosh.ganu@linaro.org>
Subject: Re: [PATCH 09/17] test/py: Add a test image for Ubuntu
Date: Sun, 30 Mar 2025 08:45:42 -0600	[thread overview]
Message-ID: <20250330144542.GQ93000@bill-the-cat> (raw)
In-Reply-To: <CAFLszTg8a7CCiyyVVQdHDHNJ3MEP-Zxbbao_riy+iTzDt2u-KA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2619 bytes --]

On Thu, Mar 20, 2025 at 03:41:33AM +0000, Simon Glass wrote:
> Hi Tom,
> 
> On Wed, 19 Mar 2025 at 16:35, Tom Rini <trini@konsulko.com> wrote:
> >
> > On Wed, Mar 19, 2025 at 03:04:28PM +0000, Simon Glass wrote:
> > > Hi Tom,
> > >
> > > On Wed, 19 Mar 2025 at 15:52, Tom Rini <trini@konsulko.com> wrote:
> > > >
> > > > On Wed, Mar 19, 2025 at 03:38:03PM +0100, Simon Glass wrote:
> > > >
> > > > > Add an extlinux image that contains a few Ubuntu entries.
> > > > >
> > > > > Increase the number of sandbox-USB-hub ports to permit this.
> > > > >
> > > > > Signed-off-by: Simon Glass <sjg@chromium.org>
> > > >
> > > > I don't understand what this test adds. In neither the current Fedora
> > > > test nor in this new test are we actually booting something, we're just
> > > > taking a sample extlinux.conf and making sure it doesn't fail. Is it
> > > > that we're testing in a useful fashion now having two labels?
> > >
> > > I didn't think so either, which is why I never did this before. But it
> > > turns out that there were some bugs, too.
> >
> > I don't understand you, sorry. You don't think so either to what?
> 
> I didn't think we needed two extlinux examples on different boot
> devices, but we do.

I'm not sure it's particularly clear what you're doing here then, or
why, but I'll find some time to read it all more deeply.

> > > > We should probably be clear about what we're doing in the tests and
> > > > instead of adding seemingly arbitrary distributions add an extlinux test
> > > > and testcases.
> > >
> > > This is not actually a test case. It is simply creating a new image.
> > > The test cases are in the other patches, so please take a look there.
> >
> > Nothing in this series quickly reads as adding tests and fixing problems
> > with extlinux parsing, it's all bootmeth stuff?
> 
> It isn't about the actual parsing of the .conf file, although I would
> like to add tests there as we have none apart from what I have added
> in my PXE series. It's more about having multiple devices with
> bootable OSes on them. This series tidies up and fixes this. We need
> to have an image available on more than one device to spot these
> problems.

And the existing tests for pxelinux that we have in mainline already,
don't forget those.

> Currently we have two accessible to sandbox, one extlinux and one
> EFI*. I decided to add a third, using extlinux.
> 
> Again, this is not a test case, but provides an image for the test
> cases in this series.

Adding mocked up things for use in sandbox is adding test cases.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2025-03-30 14:45 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-19 14:37 [PATCH 00/17] bootstd: Useability improvements Simon Glass
2025-03-19 14:37 ` [PATCH 01/17] fs: boot: Update fs_read_alloc() to use abuf Simon Glass
2025-03-31 17:42   ` Tom Rini
2025-04-01 15:46     ` Simon Glass
2025-04-01 16:50       ` Tom Rini
2025-05-01 12:07         ` Simon Glass
2025-03-19 14:37 ` [PATCH 02/17] fs: boot: Update fs_load_alloc() " Simon Glass
2025-03-19 14:37 ` [PATCH 03/17] fs: boot: Update bootmeth_alloc_other() " Simon Glass
2025-03-19 14:37 ` [PATCH 04/17] bootstd: Add more debugging to bootmeth_efi Simon Glass
2025-03-19 14:37 ` [PATCH 05/17] bootstd: Add more debugging to bootmeth_extlinux Simon Glass
2025-03-19 14:38 ` [PATCH 06/17] bootstd: Try all bootmeths on the final partition Simon Glass
2025-03-31 17:41   ` Tom Rini
2025-03-19 14:38 ` [PATCH 07/17] bootstd: Fully complete iteration of a uclass Simon Glass
2025-03-31 17:41   ` Tom Rini
2025-03-19 14:38 ` [PATCH 08/17] test/py: Split out core of Fedora image into a new function Simon Glass
2025-03-19 14:38 ` [PATCH 09/17] test/py: Add a test image for Ubuntu Simon Glass
2025-03-19 14:52   ` Tom Rini
2025-03-19 15:04     ` Simon Glass
2025-03-19 15:35       ` Tom Rini
2025-03-20  3:41         ` Simon Glass
2025-03-30 14:45           ` Tom Rini [this message]
2025-04-01 15:49             ` Simon Glass
2025-04-01 16:48               ` Tom Rini
2025-04-01 17:55                 ` Simon Glass
2025-04-11 19:13                   ` Tom Rini
2025-04-12 12:45                     ` Simon Glass
2025-04-12 18:41                       ` Tom Rini
2025-03-19 14:38 ` [PATCH 10/17] usb: Use more useful names for block devices Simon Glass
2025-03-19 14:38 ` [PATCH 11/17] sandbox: Use a unique name for each USB controller Simon Glass
2025-03-19 14:38 ` [PATCH 12/17] bootstd: Tweak scanning with labels Simon Glass
2025-03-19 14:38 ` [PATCH 13/17] bootstd: Tidy up a nested CONFIG_IS_ENABLED(BOOTSTD) Simon Glass
2025-03-19 14:38 ` [PATCH 14/17] bootstd: Provide a command to select the bootdev order Simon Glass
2025-03-19 14:38 ` [PATCH 15/17] bootstd: Correct the comment for bootmeth_set_order() Simon Glass
2025-03-19 14:38 ` [PATCH 16/17] bootstd: Expand debugging in bootdev_find_in_blk() Simon Glass
2025-03-19 14:38 ` [PATCH 17/17] bootstd: Mention FS state in bootmeth_read_bootflow() Simon Glass
2025-03-31 17:40 ` [PATCH 00/17] bootstd: Useability improvements Tom Rini
2025-04-01 15:53   ` Simon Glass
2025-04-01 17:01     ` Tom Rini

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=20250330144542.GQ93000@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=ansuelsmth@gmail.com \
    --cc=caleb.connolly@linaro.org \
    --cc=glaroque@baylibre.com \
    --cc=ilias.apalodimas@linaro.org \
    --cc=jerome.forissier@linaro.org \
    --cc=jmasson@baylibre.com \
    --cc=lehmanju@devpi.de \
    --cc=marex@denx.de \
    --cc=mkorpershoek@baylibre.com \
    --cc=patrick.rudolph@9elements.com \
    --cc=richard@nod.at \
    --cc=sjg@chromium.org \
    --cc=sughosh.ganu@linaro.org \
    --cc=swarren@nvidia.com \
    --cc=swarren@wwwdotorg.org \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.de \
    /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