Hello everyone,
I would like to let you know that I have pushed a set of patches to add support for unit tests into TF-RMM. The patches are available for review at https://review.trustedfirmware.org/q/topic:%22utest-framework%22+(status:ope...)
The unit test framework introduced on the patches sits on top of the fake-host platform, which allows to run the tests natively in the development host.
The patches include:
* A unit test framework based on CMake add_test() functionality. The framework incorporates a variant for the fake_host platform which builds and links the tests and allows them to be run automatically.
* Unit tests for the slot buffers and granules APIs, both part of the realm library component (lib/realm) to be used as guideline for further unit tests.
Currently under development are:
* Support for coverage testing
* Documentation for the unit test framework
A TF-A Tech Forum Session will be announced at some point to present and discuss the feature more in detail.
Best regards, Javier
tf-rmm@lists.trustedfirmware.org