Hi all,
I'd like to merge the patches below about platform specific test out-of-tree build this week, if no further comment. This new feature is to help partners perform local platform specific tests quickly.
* [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] * [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] I'd be very grateful if you can give more suggestions this week.
Best Regards Jianliang Shen
From: Jianliang Shen Sent: 07 September 2021 14:43 To: tf-m@lists.trustedfirmware.org; Anton Komlev Anton.Komlev@arm.com Cc: nd nd@arm.com Subject: Platform specific test out-of-tree build
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