diff options
| author | Thomas Huth <thuth@redhat.com> | 2025-08-19 13:23:54 +0200 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2025-08-27 09:46:55 +0200 |
| commit | e1a8572a8d7a11627db22366d356d0daf0f6d559 (patch) | |
| tree | 2b690f4942cfae08be498e6e247646f9bfeb7128 /tests/functional/test_riscv32_tuxrun.py | |
| parent | 1cdb63218c975b20699714449131c6745a512a1f (diff) | |
| download | focaccia-qemu-e1a8572a8d7a11627db22366d356d0daf0f6d559.tar.gz focaccia-qemu-e1a8572a8d7a11627db22366d356d0daf0f6d559.zip | |
tests/functional: Move riscv32/riscv64 tests into target-specific folders
The opensbi test is used for both, riscv32 and riscv64. Copy the main test to the riscv64 folder and add a simple wrapper to the riscv32 folder to be able to run it for that target, too. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20250819112403.432587-18-thuth@redhat.com>
Diffstat (limited to 'tests/functional/test_riscv32_tuxrun.py')
| -rwxr-xr-x | tests/functional/test_riscv32_tuxrun.py | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/tests/functional/test_riscv32_tuxrun.py b/tests/functional/test_riscv32_tuxrun.py deleted file mode 100755 index 3c570208d0..0000000000 --- a/tests/functional/test_riscv32_tuxrun.py +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/env python3 -# -# Functional test that boots known good tuxboot images the same way -# that tuxrun (www.tuxrun.org) does. This tool is used by things like -# the LKFT project to run regression tests on kernels. -# -# Copyright (c) 2023 Linaro Ltd. -# -# Author: -# Alex Bennée <alex.bennee@linaro.org> -# -# SPDX-License-Identifier: GPL-2.0-or-later - -from qemu_test import Asset -from qemu_test.tuxruntest import TuxRunBaselineTest - -class TuxRunRiscV32Test(TuxRunBaselineTest): - - ASSET_RISCV32_KERNEL = Asset( - 'https://storage.tuxboot.com/buildroot/20241119/riscv32/Image', - '872bc8f8e0d4661825d5f47f7bec64988e9d0a8bd5db8917d57e16f66d83b329') - ASSET_RISCV32_ROOTFS = Asset( - 'https://storage.tuxboot.com/buildroot/20241119/riscv32/rootfs.ext4.zst', - '511ad34e63222db08d6c1da16fad224970de36517a784110956ba6a24a0ee5f6') - - def test_riscv32(self): - self.set_machine('virt') - self.common_tuxrun(kernel_asset=self.ASSET_RISCV32_KERNEL, - rootfs_asset=self.ASSET_RISCV32_ROOTFS) - - def test_riscv32_maxcpu(self): - self.set_machine('virt') - self.cpu='max' - self.common_tuxrun(kernel_asset=self.ASSET_RISCV32_KERNEL, - rootfs_asset=self.ASSET_RISCV32_ROOTFS) - -if __name__ == '__main__': - TuxRunBaselineTest.main() |