diff options
| author | Ed Tanous <etanous@nvidia.com> | 2025-07-03 07:42:49 -0700 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2025-07-03 17:36:45 +0200 |
| commit | 3a34dad2c0d25cebafed40696bbbdeb7ff4b9c7d (patch) | |
| tree | 97f541131a77aa32473253047eb5638760bf32df /tests/functional/aspeed.py | |
| parent | becfaa10a2b554ac619fdd9ae0aa9cacdba73d67 (diff) | |
| download | focaccia-qemu-3a34dad2c0d25cebafed40696bbbdeb7ff4b9c7d.tar.gz focaccia-qemu-3a34dad2c0d25cebafed40696bbbdeb7ff4b9c7d.zip | |
tests/functional: Add gb200 tests
To support the newly added gb200 machine, add appropriate tests and extend do_test_arm_aspeed_openbmc() to support the hostname of this new system: "gb200nvl-obmc". Signed-off-by: Ed Tanous <etanous@nvidia.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Link: https://lore.kernel.org/qemu-devel/20250703144249.3348879-5-etanous@nvidia.com [ clg: Adjust commit log to document do_test_arm_aspeed_openbmc() change ] Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'tests/functional/aspeed.py')
| -rw-r--r-- | tests/functional/aspeed.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/functional/aspeed.py b/tests/functional/aspeed.py index 7a40d5dda7..b131703c52 100644 --- a/tests/functional/aspeed.py +++ b/tests/functional/aspeed.py @@ -8,8 +8,13 @@ from qemu_test import LinuxKernelTest class AspeedTest(LinuxKernelTest): def do_test_arm_aspeed_openbmc(self, machine, image, uboot='2019.04', - cpu_id='0x0', soc='AST2500 rev A1'): - hostname = machine.removesuffix('-bmc') + cpu_id='0x0', soc='AST2500 rev A1', + image_hostname=None): + # Allow for the image hostname to not end in "-bmc" + if image_hostname is not None: + hostname = image_hostname + else: + hostname = machine.removesuffix('-bmc') self.set_machine(machine) self.vm.set_console() |