Hi Tony,

 

At this time we have what we call a bare metal functional test suite which can be viewed here:

https://developer.trustedfirmware.org/project/profile/9/ with documentation here https://trustedfirmware-a-tests.readthedocs.io/en/latest/ this can be downloaded and ported to your platform.

 

Its not a strict ¡°Unit Test¡± framework but it does somewhat overlap in some of the testing provided.

 

In the TF-A project Tech Forum page https://www.trustedfirmware.org/meetings/tf-a-technical-forum/ you can find a TF-A Tests Overview session. On that page you can also find details of a proposed TF-A Unit Level Testing framework but at this time nothing has been released.

 

Associated to these test technologies the TF-A project has a OpenCI (Continuous Integration)

framework that runs the TF-A Tests framework in a variety of configurations along with other tests (boot, static analysis, etc)  over submitted patches for review and those integrated where again Tech forum sessions are available in in the above link. The OpenCI has its own project page https://www.trustedfirmware.org/projects/open-ci/ and the runtime instance running on TF-A project can be seen here https://ci.trustedfirmware.org/view/TF-A/.

 

Hope this is useful information.

 

Joanna

 

 

 

 

From: ¹ùÕãΰ(±¾¼Ç) via TF-A <tf-a@lists.trustedfirmware.org>
Date: Wednesday, 25 May 2022 at 09:04
To: tf-a@lists.trustedfirmware.org <tf-a@lists.trustedfirmware.org>
Subject: [TF-A] arm-trustedfirmware whether has unit test

hi,

 

I has quality engineer from china.

I would to start study the Arm profile-A trustedfirmware and try to test it.

I has read trustedfirmware documetion , 

From the Processes & policies Chap about CI part.  "https://trustedfirmware-a.readthedocs.io/en/latest/process/contributing.html#add-ci-configurations "

Find ATF has Coverity Scan and test image build.

 

but I would to know, trustedfirmware-a whether has  unit test part in the code level quality check.

 

 

Brs

Tony