[PATCH 0/2] test: unit test for semihosting

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Mon Jul 31 22:01:19 CEST 2023


* Provide a unit test for semihosting testing, reading and writing a file.

* Enable semihosting on qemu_arm64_defconfig.
  Semihosting is already enabled for the board in u-boot-testhooks.

Heinrich Schuchardt (2):
  configs: enable SEMIHOSTING on qemu_arm64_defconfig
  test: unit test for semihosting

 configs/qemu_arm64_defconfig                  |  1 +
 test/py/tests/test_semihosting/conftest.py    | 23 +++++++++++++
 test/py/tests/test_semihosting/test_hostfs.py | 33 +++++++++++++++++++
 3 files changed, 57 insertions(+)
 create mode 100644 test/py/tests/test_semihosting/conftest.py
 create mode 100644 test/py/tests/test_semihosting/test_hostfs.py

-- 
2.40.1



More information about the U-Boot mailing list