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
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
Hi all,
I'm glad to let you know that these four patches about TF-M platform specific test out-of-tree build have been merged.
Documents about the usage of this new feature is in [Doc]https://tf-m-user-guide.trustedfirmware.org/docs/integration_guide/tfm_test_suites_addition.html#adding-test-services. You can now perform your test quickly. I'd be very grateful if you can send any issue of usage to me.
Best Regards Jianliang Shen
From: TF-M tf-m-bounces@lists.trustedfirmware.org On Behalf Of Jianliang Shen via TF-M Sent: 11 October 2021 16:37 To: tf-m@lists.trustedfirmware.org; Anton Komlev Anton.Komlev@arm.com Cc: nd nd@arm.com Subject: Re: [TF-M] Platform specific test out-of-tree build
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.orgmailto:tf-m@lists.trustedfirmware.org; Anton Komlev <Anton.Komlev@arm.commailto:Anton.Komlev@arm.com> Cc: nd <nd@arm.commailto: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
tf-m@lists.trustedfirmware.org