diff options
| author | Thomas Huth <thuth@redhat.com> | 2025-08-19 13:23:51 +0200 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2025-08-27 09:46:55 +0200 |
| commit | f227c45e5b6e928a413fcf7176b59aac4e430c82 (patch) | |
| tree | 4e308bcfaa37a9b4272e4968eacaa45094332c16 /tests/functional/test_mips_replay.py | |
| parent | 67adbc8b6f40f6a2370d4a0ba479d3778d147cbc (diff) | |
| download | focaccia-qemu-f227c45e5b6e928a413fcf7176b59aac4e430c82.tar.gz focaccia-qemu-f227c45e5b6e928a413fcf7176b59aac4e430c82.zip | |
tests/functional: Move mips tests into target-specific folders
The tests/functional folder has become quite crowded, thus move the mips tests into a target-specific subfolder. 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-15-thuth@redhat.com>
Diffstat (limited to 'tests/functional/test_mips_replay.py')
| -rwxr-xr-x | tests/functional/test_mips_replay.py | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/tests/functional/test_mips_replay.py b/tests/functional/test_mips_replay.py deleted file mode 100755 index 4327481e35..0000000000 --- a/tests/functional/test_mips_replay.py +++ /dev/null @@ -1,55 +0,0 @@ -#!/usr/bin/env python3 -# -# Replay tests for the big-endian 32-bit MIPS Malta board -# -# SPDX-License-Identifier: GPL-2.0-or-later - -from qemu_test import Asset, skipSlowTest -from replay_kernel import ReplayKernelBase - - -class MipsReplay(ReplayKernelBase): - - ASSET_KERNEL_2_63_2 = Asset( - ('http://snapshot.debian.org/archive/debian/' - '20130217T032700Z/pool/main/l/linux-2.6/' - 'linux-image-2.6.32-5-4kc-malta_2.6.32-48_mips.deb'), - '16ca524148afb0626f483163e5edf352bc1ab0e4fc7b9f9d473252762f2c7a43') - - def test_replay_mips_malta(self): - self.set_machine('malta') - kernel_path = self.archive_extract(self.ASSET_KERNEL_2_63_2, - member='boot/vmlinux-2.6.32-5-4kc-malta') - kernel_command_line = self.KERNEL_COMMON_COMMAND_LINE + 'console=ttyS0' - console_pattern = 'Kernel command line: %s' % kernel_command_line - self.run_rr(kernel_path, kernel_command_line, console_pattern, shift=5) - - ASSET_KERNEL_4_5_0 = Asset( - ('http://snapshot.debian.org/archive/debian/' - '20160601T041800Z/pool/main/l/linux/' - 'linux-image-4.5.0-2-4kc-malta_4.5.5-1_mips.deb'), - '526b17d5889840888b76fc2c36a0ebde182c9b1410a3a1e68203c3b160eb2027') - - ASSET_INITRD = Asset( - ('https://github.com/groeck/linux-build-test/raw/' - '8584a59ed9e5eb5ee7ca91f6d74bbb06619205b8/rootfs/' - 'mips/rootfs.cpio.gz'), - 'dcfe3a7fe3200da3a00d176b95caaa086495eb158f2bff64afc67d7e1eb2cddc') - - @skipSlowTest() - def test_replay_mips_malta_cpio(self): - self.set_machine('malta') - kernel_path = self.archive_extract(self.ASSET_KERNEL_4_5_0, - member='boot/vmlinux-4.5.0-2-4kc-malta') - initrd_path = self.uncompress(self.ASSET_INITRD) - - kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE + - 'console=ttyS0 console=tty ' - 'rdinit=/sbin/init noreboot') - console_pattern = 'Boot successful.' - self.run_rr(kernel_path, kernel_command_line, console_pattern, shift=5, - args=('-initrd', initrd_path)) - - -if __name__ == '__main__': - ReplayKernelBase.main() |