xref: /qemu/tests/functional/test_microblazeel_s3adsp1800.py (revision 4098c6b7b62c6a11a15c74fa275e754af8970317)
1624fb343SThomas Huth#!/usr/bin/env python3
2624fb343SThomas Huth#
3624fb343SThomas Huth# Functional test that boots a microblaze Linux kernel and checks the console
4624fb343SThomas Huth#
5624fb343SThomas Huth# Copyright (c) 2018, 2021 Red Hat, Inc.
6624fb343SThomas Huth#
7624fb343SThomas Huth# This work is licensed under the terms of the GNU GPL, version 2 or
8624fb343SThomas Huth# later. See the COPYING file in the top-level directory.
9624fb343SThomas Huth
10*4098c6b7SPhilippe Mathieu-Daudéfrom test_microblaze_s3adsp1800 import MicroblazeMachine
115831ed84SDaniel P. Berrangé
12624fb343SThomas Huth
13*4098c6b7SPhilippe Mathieu-Daudéclass MicroblazeLittleEndianMachine(MicroblazeMachine):
14624fb343SThomas Huth
15*4098c6b7SPhilippe Mathieu-Daudé    ASSET_IMAGE_LE = MicroblazeMachine.ASSET_IMAGE_LE
16624fb343SThomas Huth
17fe52b090SPhilippe Mathieu-Daudé    def test_microblaze_s3adsp1800_legacy_le(self):
18fe52b090SPhilippe Mathieu-Daudé        self.do_xmaton_le_test('petalogix-s3adsp1800')
19fe52b090SPhilippe Mathieu-Daudé
20*4098c6b7SPhilippe Mathieu-Daudé
21624fb343SThomas Huthif __name__ == '__main__':
22*4098c6b7SPhilippe Mathieu-Daudé    MicroblazeMachine.main()
23