Files
esp-idf/components/esp_tee/test_apps/tee_test_fw
Fu Hanxi f33469dd63 ci: apply idf-ci build run
removed script:

- tools/ci/dynamic_pipelines/scripts/child_pipeline_build_apps.py -> idf-ci build run
- tools/ci/ci_build_apps.py -> idf-build-apps build

moved from remove from idf_pytest/constants.py to .idf_build_apps.toml

- DEFAULT_FULL_BUILD_TEST_COMPONENTS
- DEFAULT_FULL_BUILD_TEST_FILEPATTERNS
- DEFAULT_IGNORE_WARNING_FILEPATH
- DEFAULT_BUILD_LOG_FILENAME
- DEFAULT_SIZE_JSON_FILENAME
2025-07-09 10:33:28 +02:00
..
2025-07-09 10:33:28 +02:00

Supported Targets ESP32-C6 ESP32-H2

ESP-TEE: Test Suite

  • ESP-TEE utilizes the pytest framework in ESP-IDF for executing the dedicated unit tests on the target. The test application includes cases spanning the following modules -

    • Secure service call interface
    • Interrupts and exception handling
    • Privilege violation
    • Cryptographic operations
    • TEE OTA updates
    • Secure storage
    • Attestation
  • For executing the test locally, ESP-IDF needs to be installed with the additional Python requirements.

cd $IDF_PATH
bash install.sh --enable-ci
. ./export.sh
  • For example, to execute the TEE test suite for ESP32-C6 with all the available sdkconfig files, run the following steps. The required test applications will be built and flashed automatically onto the DUT by the pytest framework.
idf-ci build run --target esp32c6 --only-test-related
pytest --target esp32c6