qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: "Cédric Le Goater" <clg@redhat.com>, qemu-devel@nongnu.org
Cc: Bernhard Beschow <shentey@gmail.com>
Subject: Re: [PATCH] tests/functional: Extend the ppc64 e500 test
Date: Mon, 3 Feb 2025 11:13:46 +0100	[thread overview]
Message-ID: <e093ff11-62c3-4ae6-8df8-206997f4862e@redhat.com> (raw)
In-Reply-To: <20250203095752.506043-1-clg@redhat.com>

On 03/02/2025 10.57, Cédric Le Goater wrote:
> The test sequence boots a ppce500 machine from kernel and disk.
> 
> The buildroot is built with the qemu_ppc64_e5500_defconfig config.
> 
> Signed-off-by: Cédric Le Goater <clg@redhat.com>
> ---
>   tests/functional/test_ppc64_e500.py | 30 +++++++++++++++++++++++++++++
>   1 file changed, 30 insertions(+)
> 
> diff --git a/tests/functional/test_ppc64_e500.py b/tests/functional/test_ppc64_e500.py
> index b92fe0b0e75e..f21d7d84177e 100755
> --- a/tests/functional/test_ppc64_e500.py
> +++ b/tests/functional/test_ppc64_e500.py
> @@ -5,6 +5,7 @@
>   # SPDX-License-Identifier: GPL-2.0-or-later
>   
>   from qemu_test import LinuxKernelTest, Asset
> +from qemu_test import exec_command_and_wait_for_pattern
>   
>   
>   class E500Test(LinuxKernelTest):
> @@ -20,5 +21,34 @@ def test_ppc64_e500(self):
>           self.launch_kernel(self.scratch_file('day19', 'uImage'),
>                              wait_for='QEMU advent calendar')
>   
> +    ASSET_BR2_E5500_UIMAGE = Asset(
> +        'https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main/buildroot/qemu_ppc64_e5500-2023.11-8-gdcd9f0f6eb-20240104/uImage',
> +        '2478187c455d6cca3984e9dfde9c635d824ea16236b85fd6b4809f744706deda')
> +
> +    ASSET_BR2_E5500_ROOTFS = Asset(
> +        'https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main//buildroot/qemu_ppc64_e5500-2023.11-8-gdcd9f0f6eb-20240104/rootfs.ext2',
> +        '9035ef97237c84c7522baaff17d25cdfca4bb7a053d5e296e902919473423d76')

Hmm, the advent calendar test that is already available in this file is also 
based on build root ... so I think we don't need both tests here. IIRC I 
built most of the advent calendar images without networking stack (to keep 
them smaller), so your image is likely better suited here, thus I'd suggest 
to remove the advent calendar image now when you add your new test. WDYT?

  Thomas



      reply	other threads:[~2025-02-03 10:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-03  9:57 [PATCH] tests/functional: Extend the ppc64 e500 test Cédric Le Goater
2025-02-03 10:13 ` Thomas Huth [this message]

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=e093ff11-62c3-4ae6-8df8-206997f4862e@redhat.com \
    --to=thuth@redhat.com \
    --cc=clg@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=shentey@gmail.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;
as well as URLs for NNTP newsgroup(s).