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:

 

My proposal supplies a flexible interface for partners to out-of-tree build local tests. With this new feature,

 

I also put an out-of-tree example test source code into tf-m-extras repo and a document in TF-M repo:

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