Page MenuHomePhabricator

Add support to split PSA compliance tests for targets like MUSCA_A1
Open, Needs TriagePublic

Description

On current - https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/commit/?id=998f67e866a103b6d6a9ff7c2ddc9f52866ef3e4

We don't see a way to split the PSA API target, which is very useful for targets like musca_a1 due to having small memory storage.

https://github.com/ARM-software/psa-arch-tests/blob/master/api-tests/dev_apis/README.md#build-steps

-DSUITE_TEST_RANGE could be used to split the tests, which helps for test suite like CRYPTO

TF-M build system can pass this as an argument to PSA Arch tests

cmake -S . -B cmake_build -G"Unix Makefiles" -DTFM_PLATFORM=musca_a1 -DTFM_TOOLCHAIN_FILE=toolchain_GNUARM.cmake -DTFM_PSA_API=ON -DTEST_PSA_API=CRYPTO

Event Timeline