aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/test_microblazeel_s3adsp1800.py
blob: 915902d48bdefb1112b81269ad2a13b514d51749 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/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
    ASSET_IMAGE_BE = MicroblazeMachine.ASSET_IMAGE_BE

    def test_microblaze_s3adsp1800_legacy_le(self):
        self.do_xmaton_le_test()

    def test_microblaze_s3adsp1800_legacy_be(self):
        self.do_ballerina_be_test(force_endianness=True)


if __name__ == '__main__':
    MicroblazeMachine.main()