Files
esp-idf/components/esp_partition/test_apps/README.md
sonika.rathi 9234e36de5 fix(esp_partition): migrate classic tests to test_apps, drop legacy test/
remove unused components/esp_partition/test sources that were
only built by the retired unit-test-app path.
2026-09-14 17:18:26 +02:00

973 B

Supported Targets ESP32 ESP32-C3

This is a test app for 'esp_partition' component. It verifies all the important APIs and properties and prints the results. The Block Device Layer related tests have names with a prefix 'test_bdl', and they check all the BDL operations related to 'esp_partition' including parallel access to 2 partitions. Additional cases cover partition erase/write/read and esp_partition_get_sha256() (including the large-partition / scarce-MMU-page path).

In CI, it is sufficient to run this test for one chip of each architecture.

Building and Running

To run locally:

idf.py build flash monitor

The tests will be executed and the summary will be printed. Note, when the Python test script is executed in internal CI, it will test each configuration one by one. When executing this script locally, it will use whichever binary is already built and available in build directory.