[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 16/16] tests/functional: Run cross-endian microblaze tests
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v5 16/16] tests/functional: Run cross-endian microblaze tests |
Date: |
Thu, 6 Feb 2025 14:10:52 +0100 |
Ensure microblaze machines can run cross-endianness by
running all tests on all machines.
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
tests/functional/test_microblaze_s3adsp1800.py | 6 ++++++
tests/functional/test_microblazeel_s3adsp1800.py | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/tests/functional/test_microblaze_s3adsp1800.py
b/tests/functional/test_microblaze_s3adsp1800.py
index 177c8a685bc..c18b132ff5f 100755
--- a/tests/functional/test_microblaze_s3adsp1800.py
+++ b/tests/functional/test_microblaze_s3adsp1800.py
@@ -60,5 +60,11 @@ class MicroblazeBigEndianMachine(MicroblazeMachine):
def test_microblaze_s3adsp1800_legacy_be(self):
self.do_ballerina_be_test('petalogix-s3adsp1800')
+ def test_microblaze_s3adsp1800_be(self):
+ self.do_ballerina_be_test('petalogix-s3adsp1800-be')
+
+ def test_microblaze_s3adsp1800_le(self):
+ self.do_xmaton_le_test('petalogix-s3adsp1800-le')
+
if __name__ == '__main__':
QemuSystemTest.main()
diff --git a/tests/functional/test_microblazeel_s3adsp1800.py
b/tests/functional/test_microblazeel_s3adsp1800.py
index 56645bd0bb2..b10944bbb0c 100755
--- a/tests/functional/test_microblazeel_s3adsp1800.py
+++ b/tests/functional/test_microblazeel_s3adsp1800.py
@@ -16,5 +16,11 @@ class MicroblazeLittleEndianMachine(MicroblazeMachine):
def test_microblaze_s3adsp1800_legacy_le(self):
self.do_xmaton_le_test('petalogix-s3adsp1800')
+ def test_microblaze_s3adsp1800_le(self):
+ self.do_xmaton_le_test('petalogix-s3adsp1800-le')
+
+ def test_microblaze_s3adsp1800_be(self):
+ self.do_ballerina_be_test('petalogix-s3adsp1800-be')
+
if __name__ == '__main__':
QemuSystemTest.main()
--
2.47.1
[PATCH v5 12/16] tests/functional: Explicit endianness of microblaze assets, Philippe Mathieu-Daudé, 2025/02/06
[PATCH v5 13/16] tests/functional: Allow microblaze tests to take a machine name argument, Philippe Mathieu-Daudé, 2025/02/06
[PATCH v5 14/16] tests/functional: Remove sleep() kludges from microblaze tests, Philippe Mathieu-Daudé, 2025/02/06
[PATCH v5 15/16] tests/functional: Have microblaze tests inherit common parent class, Philippe Mathieu-Daudé, 2025/02/06
[PATCH v5 16/16] tests/functional: Run cross-endian microblaze tests,
Philippe Mathieu-Daudé <=
Re: [PATCH v5 00/16] hw/microblaze: Allow running cross-endian vCPUs, Philippe Mathieu-Daudé, 2025/02/10