mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-28 21:03:54 -06:00

Have the MicroblazeMachine class being common to both MicroblazeBigEndianMachine and MicroblazeLittleEndianMachine classes. Move the xmaton and ballerina tests to the parent class. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-ID: <20250212123659.52764-11-philmd@linaro.org> [thuth: Add missing ASSET statements to the leaf classes] Signed-off-by: Thomas Huth <thuth@redhat.com>
22 lines
612 B
Python
Executable file
22 lines
612 B
Python
Executable file
#!/usr/bin/env python3
|
|
#
|
|
# Functional test that boots a microblaze Linux kernel and checks the console
|
|
#
|
|
# Copyright (c) 2018, 2021 Red Hat, Inc.
|
|
#
|
|
# This work is licensed under the terms of the GNU GPL, version 2 or
|
|
# later. See the COPYING file in the top-level directory.
|
|
|
|
from test_microblaze_s3adsp1800 import MicroblazeMachine
|
|
|
|
|
|
class MicroblazeLittleEndianMachine(MicroblazeMachine):
|
|
|
|
ASSET_IMAGE_LE = MicroblazeMachine.ASSET_IMAGE_LE
|
|
|
|
def test_microblaze_s3adsp1800_legacy_le(self):
|
|
self.do_xmaton_le_test('petalogix-s3adsp1800')
|
|
|
|
|
|
if __name__ == '__main__':
|
|
MicroblazeMachine.main()
|