Adam Múdry e151184da7 refactor: Remove -Wno-format from storage related components 2 år sedan
..
main e151184da7 refactor: Remove -Wno-format from storage related components 2 år sedan
.build-test-rules.yml 2e11919f70 fix(ci): change build-test-rules files folder 2 år sedan
CMakeLists.txt facab8c5a7 tools: Increase the minimal supported CMake version to 3.16 3 år sedan
README.md 5962a7e931 wear_levelling: move tests from unit-test-app to a component test app 4 år sedan
partitions.csv 5962a7e931 wear_levelling: move tests from unit-test-app to a component test app 4 år sedan
pytest_wear_levelling.py a801555299 ci: replace all component ut with pytest-embedded 4 år sedan
sdkconfig.ci.4k 5962a7e931 wear_levelling: move tests from unit-test-app to a component test app 4 år sedan
sdkconfig.ci.512perf 5962a7e931 wear_levelling: move tests from unit-test-app to a component test app 4 år sedan
sdkconfig.ci.512safe 5962a7e931 wear_levelling: move tests from unit-test-app to a component test app 4 år sedan
sdkconfig.ci.release 5962a7e931 wear_levelling: move tests from unit-test-app to a component test app 4 år sedan
sdkconfig.defaults 5962a7e931 wear_levelling: move tests from unit-test-app to a component test app 4 år sedan

README.md

Supported Targets ESP32 ESP32-C3

This is a test app for wear_levelling component. This app is for internal use. In CI, it is sufficient to run this test for one chip of each architecture.

Building

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

Example with configuration "4k" for target ESP32

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

Running

To run locally:

idf.py flash monitor

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

-----------------------
4 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.