All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: "Cédric Le Goater" <clg@redhat.com>,
	qemu-arm@nongnu.org, qemu-devel@nongnu.org
Cc: Joel Stanley <joel@jms.id.au>,
	Andrew Jeffery <andrew@codeconstruct.com.au>,
	Troy Lee <troy_lee@aspeedtech.com>,
	Jamin Lin <jamin_lin@aspeedtech.com>,
	Steven Lee <steven_lee@aspeedtech.com>
Subject: Re: [PATCH 5/5] tests/functional: Introduce a bletchley machine test
Date: Thu, 30 Jan 2025 08:54:52 +0100	[thread overview]
Message-ID: <bf801db0-ffab-48de-b8fe-1577c3bd17eb@redhat.com> (raw)
In-Reply-To: <20250129071820.1258133-6-clg@redhat.com>

On 29/01/2025 08.18, Cédric Le Goater wrote:
> Use do_test_arm_aspeed_openbmc() to run the latest OpenBMC firmware
> build of the bletchley BMC.
> 
> Signed-off-by: Cédric Le Goater <clg@redhat.com>
> ---
>   tests/functional/meson.build                  |  2 ++
>   tests/functional/test_arm_aspeed_bletchley.py | 24 +++++++++++++++++++
>   2 files changed, 26 insertions(+)
>   create mode 100755 tests/functional/test_arm_aspeed_bletchley.py
> 
> diff --git a/tests/functional/meson.build b/tests/functional/meson.build
> index 5c782ceb0a98..a8eb9c9a7af5 100644
> --- a/tests/functional/meson.build
> +++ b/tests/functional/meson.build
> @@ -25,6 +25,7 @@ test_timeouts = {
>     'arm_aspeed_witherspoon' : 120,
>     'arm_aspeed_ast2500' : 480,
>     'arm_aspeed_ast2600' : 720,
> +  'arm_aspeed_bletchley' : 120,
>     'arm_aspeed_rainier' : 240,
>     'arm_bpim2u' : 500,
>     'arm_collie' : 180,
> @@ -86,6 +87,7 @@ tests_arm_system_thorough = [
>     'arm_aspeed_witherspoon',
>     'arm_aspeed_ast2500',
>     'arm_aspeed_ast2600',
> +  'arm_aspeed_bletchley',
>     'arm_aspeed_rainier',
>     'arm_bpim2u',
>     'arm_canona1100',
> diff --git a/tests/functional/test_arm_aspeed_bletchley.py b/tests/functional/test_arm_aspeed_bletchley.py
> new file mode 100755
> index 000000000000..10e6703b53cb
> --- /dev/null
> +++ b/tests/functional/test_arm_aspeed_bletchley.py
> @@ -0,0 +1,24 @@
> +#!/usr/bin/env python3
> +#
> +# Functional test that boots the ASPEED machines
> +#
> +# SPDX-License-Identifier: GPL-2.0-or-later
> +
> +from qemu_test import Asset
> +from aspeed import AspeedTest
> +
> +class BletchleyMachine(AspeedTest):
> +
> +    ASSET_BLETCHLEY_FLASH = Asset(
> +        'https://github.com/legoater/qemu-aspeed-boot/raw/master/images/bletchley-bmc/openbmc-20250128071329/obmc-phosphor-image-bletchley-20250128071329.static.mtd.xz',
> +        'db21d04d47d7bb2a276f59d308614b4dfb70b9c7c81facbbca40a3977a2d8844');
> +
> +    def test_arm_ast2600_bletchley_openbmc(self):
> +        image_path = self.uncompress(self.ASSET_BLETCHLEY_FLASH)
> +
> +        self.do_test_arm_aspeed_openbmc('bletchley-bmc', image=image_path,
> +                                        uboot='2019.04', cpu_id='0xf00',
> +                                        soc='AST2600 rev A3');
> +
> +if __name__ == '__main__':
> +    AspeedTest.main()

Reviewed-by: Thomas Huth <thuth@redhat.com>


  reply	other threads:[~2025-01-30  7:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-29  7:18 [PATCH 0/5] tests/functional: Update Aspeed OpenBMC images (resend) Cédric Le Goater
2025-01-29  7:18 ` [PATCH 1/5] tests/functional: Introduce a new test routine for OpenBMC images Cédric Le Goater
2025-01-29  7:58   ` Thomas Huth
2025-01-29 16:28     ` Cédric Le Goater
2025-01-30  6:40       ` Thomas Huth
2025-01-30  8:01         ` Cédric Le Goater
2025-01-29  7:18 ` [PATCH 2/5] tests/functional: Update OpenBMC image of palmetto machine Cédric Le Goater
2025-01-29  8:00   ` Thomas Huth
2025-01-29  7:18 ` [PATCH 3/5] tests/functional: Update OpenBMC image of romulus machine Cédric Le Goater
2025-01-29  8:01   ` Thomas Huth
2025-01-29  7:18 ` [PATCH 4/5] tests/functional: Introduce a witherspoon machine test Cédric Le Goater
2025-01-29  9:02   ` Thomas Huth
2025-01-29  7:18 ` [PATCH 5/5] tests/functional: Introduce a bletchley " Cédric Le Goater
2025-01-30  7:54   ` Thomas Huth [this message]
2025-01-31 11:22   ` Patrick Williams
2025-01-31 12:28     ` Cédric Le Goater
2025-02-05  7:31 ` [PATCH 0/5] tests/functional: Update Aspeed OpenBMC images (resend) Cédric Le Goater

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=bf801db0-ffab-48de-b8fe-1577c3bd17eb@redhat.com \
    --to=thuth@redhat.com \
    --cc=andrew@codeconstruct.com.au \
    --cc=clg@redhat.com \
    --cc=jamin_lin@aspeedtech.com \
    --cc=joel@jms.id.au \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=steven_lee@aspeedtech.com \
    --cc=troy_lee@aspeedtech.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.