Hi all,
Thanks for Chris Brand's enhancement suggestion about platform-specific tests. I'm enabling out-of-tree build mode of platform specific test suites with tf-m-tests. Currently I have proposed the following changes:
* [TF-M patchhttps://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/11296] * [tf-m-tests patchhttps://review.trustedfirmware.org/c/TF-M/tf-m-tests/+/11297]
My proposal supplies a flexible interface for partners to out-of-tree build local tests. With this new feature,
* Partners can perform local test quickly during development to improve test efficiency * Partners can maintain local test code outside tf-m-tests repo in case of confidential information or IP issues.
I also put an out-of-tree example test source code into tf-m-extras repo and a document in TF-M repo:
* [tf-m-extras patchhttps://review.trustedfirmware.org/c/TF-M/tf-m-extras/+/11323] * [TF-M patch dochttps://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/11336] This example indicates that platform-specific tests can be integrated with tf-m-tests, without following tf-m-tests structure or definitions. The document introduces the usage and coding guide of this new feature.
PS: If partners would like to upstream platform specific test code, we will be glad to create a specific folder under tf-m-tests repo as Chris Brand suggested. I'd be grateful if you can take a look at the patch sets above. Any suggestion or comment is welcome.
Best Regards Jianliang Shen