From e1a8572a8d7a11627db22366d356d0daf0f6d559 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Tue, 19 Aug 2025 13:23:54 +0200 Subject: tests/functional: Move riscv32/riscv64 tests into target-specific folders MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Thomas Huth Message-ID: <20250819112403.432587-18-thuth@redhat.com> --- tests/functional/test_riscv32_tuxrun.py | 38 --------------------------------- 1 file changed, 38 deletions(-) delete mode 100755 tests/functional/test_riscv32_tuxrun.py (limited to 'tests/functional/test_riscv32_tuxrun.py') 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 -# -# 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() -- cgit 1.4.1