Chen Yudong 2e11919f70 fix(ci): change build-test-rules files folder %!s(int64=2) %!d(string=hai) anos
..
main 7b709aacc9 spiffs: move tests from unit-test-app to a component test app %!s(int64=3) %!d(string=hai) anos
.build-test-rules.yml 2e11919f70 fix(ci): change build-test-rules files folder %!s(int64=2) %!d(string=hai) anos
CMakeLists.txt 7b709aacc9 spiffs: move tests from unit-test-app to a component test app %!s(int64=3) %!d(string=hai) anos
README.md 7dbd3f6909 feat(ci): Enable p4 example, test_apps and unit tests CI build %!s(int64=2) %!d(string=hai) anos
partitions.csv 7b709aacc9 spiffs: move tests from unit-test-app to a component test app %!s(int64=3) %!d(string=hai) anos
pytest_spiffs.py 7b709aacc9 spiffs: move tests from unit-test-app to a component test app %!s(int64=3) %!d(string=hai) anos
sdkconfig.ci.default 7b709aacc9 spiffs: move tests from unit-test-app to a component test app %!s(int64=3) %!d(string=hai) anos
sdkconfig.ci.psram 7b709aacc9 spiffs: move tests from unit-test-app to a component test app %!s(int64=3) %!d(string=hai) anos
sdkconfig.ci.release 7b709aacc9 spiffs: move tests from unit-test-app to a component test app %!s(int64=3) %!d(string=hai) anos
sdkconfig.defaults 7b709aacc9 spiffs: move tests from unit-test-app to a component test app %!s(int64=3) %!d(string=hai) anos

README.md

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.