esp-idf/components/spiffs/test_apps
Sudeep Mohanty 9605f9be3f Merge branch 'contrib/github_pr_12800' into 'master'
feat(freertos): Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES

Closes IDFGH-11693 and IDF-8785

See merge request espressif/esp-idf!28505
2024-02-20 15:21:47 +08:00
..
main feat(freertos): Introduced new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES 2024-02-09 09:11:28 +01:00
.build-test-rules.yml feat(storage): Update build test rules for storage related components 2024-01-02 13:10:59 +01:00
CMakeLists.txt spiffs: move tests from unit-test-app to a component test app 2022-10-12 12:08:13 +02:00
partitions.csv spiffs: move tests from unit-test-app to a component test app 2022-10-12 12:08:13 +02:00
pytest_spiffs.py spiffs: move tests from unit-test-app to a component test app 2022-10-12 12:08:13 +02:00
README.md feat(ci): Enable p4 example, test_apps and unit tests CI build 2023-08-24 12:51:19 +08:00
sdkconfig.ci.default spiffs: move tests from unit-test-app to a component test app 2022-10-12 12:08:13 +02:00
sdkconfig.ci.psram.esp32s3 fix(storage): cleanup storage examples/test_apps sdkconfigs 2024-02-12 10:57:46 +01:00
sdkconfig.ci.release spiffs: move tests from unit-test-app to a component test app 2022-10-12 12:08:13 +02:00
sdkconfig.defaults spiffs: move tests from unit-test-app to a component test app 2022-10-12 12:08:13 +02:00

Supported Targets ESP32 ESP32-C2 ESP32-C3 ESP32-C6 ESP32-H2 ESP32-P4 ESP32-S2 ESP32-S3

This is a test app for spiffs component.

Building

Several configurations are provided as sdkconfig.ci.XXX and serve as a template.

Example with configuration "release" for target ESP32

rm -rf sdkconfig build
idf.py -DIDF_TARGET=esp32 -DSDKCONFIG_DEFAULTS="sdkconfig.defaults;sdkconfig.ci.release" build

Running

To run locally:

idf.py flash monitor

The tests will be executed and the summary will be printed:

-----------------------
21 Tests 0 Failures 0 Ignored
OK

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.