On 19/08/2025 23.28, Glenn Miles wrote:
Adds a functional test for the IBM PPE42 instructions which
downloads a test image from a public github repo and then
loads and executes the image.
(see https://github.com/milesg-github/ppe42-tests for details)
Test status is checked by periodically issuing 'info register'
commands and checking the NIP value. If the NIP is 0xFFF80200
then the test successfully executed to completion. If the
machine stops before the test completes or if a 90 second
timeout is reached, then the test is marked as having failed.
This test does not test any PowerPC instructions as it is
expected that these instructions are well covered in other
tests. Only instructions that are unique to the IBM PPE42
processor are tested.
Signed-off-by: Glenn Miles <mil...@linux.ibm.com>
---
tests/functional/meson.build | 1 +
tests/functional/test_ppc_ppe42.py | 79 ++++++++++++++++++++++++++++++
2 files changed, 80 insertions(+)
create mode 100644 tests/functional/test_ppc_ppe42.py
Reviewed-by: Thomas Huth <th...@redhat.com>