mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
tests/functional: Test both microblaze s3adsp1800 endianness variants
Now that the endianness of the petalogix-s3adsp1800 can be configured, we should test that the cross-endianness also works as expected, thus test the big endian variant on the little endian target and vice versa. (based on an original idea from Philippe Mathieu-Daudé) Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20250515132019.569365-3-thuth@redhat.com>
This commit is contained in:
parent
141ec228de
commit
6c54775584
2 changed files with 18 additions and 6 deletions
|
@ -13,9 +13,13 @@ 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('petalogix-s3adsp1800')
|
||||
self.do_xmaton_le_test()
|
||||
|
||||
def test_microblaze_s3adsp1800_legacy_be(self):
|
||||
self.do_ballerina_be_test(force_endianness=True)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue