Part 1
요약·해설
두 test suite 계열, sample 실행 위치, certification evidence와 board support PR 검증 용도를 설명합니다.
TF-M services · IPC
PSA API specs
Certification output
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
776730D6462A3AC7E207D5C2F2F189E3693648C53D796CCDB7C6F4FD8579DA19
Test Suites
###########
TF-M includes two sets of test suites:
* tf-m-tests - Standard TF-M specific regression tests
* psa-arch-tests - Test suites for specific PSA APIs (secure storage, etc.)
These test suites can be run from Zephyr via an appropriate sample application
in the samples/tfm_integration folder.
TF-M Regression Tests
*********************
The regression test suite can be run via the :ref:`tfm_regression_test` sample.
This sample tests various services and communication mechanisms across the
NS/S boundary via the PSA APIs. They provide a useful sanity check for proper
integration between the NS RTOS (Zephyr in this case) and the secure
application (TF-M).
PSA Arch Tests
**************
The PSA Arch Test suite, available via :ref:`tfm_psa_test`, contains a number of
test suites that can be used to validate that PSA API specifications are
being followed by the secure application, TF-M being an implementation of
the Platform Security Architecture (PSA).
Only one of these suites can be run at a time, with the available test suites
described via ``CONFIG_TFM_PSA_TEST_*`` KConfig flags:
Purpose
*******
The output of these test suites is required to obtain PSA Certification for
your specific board, RTOS (Zephyr here), and PSA implementation (TF-M in this
case).
They also provide a useful test case to validate any PRs that make meaningful
changes to TF-M, such as enabling a new TF-M board target, or making changes
to the core TF-M module(s). They should generally be run as a coherence check
before publishing a new PR for new board support, etc.
Part 3
한국어 전문 번역
TF-M에는 두 test suite 계열이 있습니다. tf-m-tests는 TF-M 자체 regression test이고, psa-arch-tests는 secure storage 등 특정 PSA API specification 준수 여부를 검사합니다. Zephyr의 samples/tfm_integration 아래 대응 sample application으로 실행합니다.
TF-M Regression Tests
Regression suite는 tfm_regression_test sample로 실행합니다. NS/S boundary를 넘는 PSA API service와 communication mechanism을 검사하므로 non-secure RTOS인 Zephyr와 secure application인 TF-M이 제대로 통합됐는지 확인하는 빠른 sanity check가 됩니다.
PSA Arch Tests
tfm_psa_test sample이 제공하는 PSA Architecture Test suite는 TF-M secure application이 PSA API specification을 지키는지 검증합니다. 사용할 suite는 CONFIG_TFM_PSA_TEST_* Kconfig option으로 고르며 한 번에 하나만 실행할 수 있습니다.
Purpose
이 test output은 특정 board, Zephyr RTOS, TF-M PSA implementation 조합으로 PSA Certification을 받을 때 필요합니다.
새 TF-M board target을 활성화하거나 core TF-M module을 바꾸는 pull request에도 유용합니다. Board support를 제출하기 전 regression과 선택 PSA arch suite를 coherence check로 실행해 NS/S 통신, service behavior와 specification 적합성이 유지되는지 확인해야 합니다.
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.