esp-idf/components/nvs_flash/test_nvs_host
..
Makefile
README.md
main.cpp
sdkconfig.h
spi_flash_emulation.cpp
spi_flash_emulation.h
test_compressed_enum_table.cpp
test_fixtures.hpp
test_intrusive_list.cpp
test_nvs.cpp
test_nvs_partition.cpp
test_partition_manager.cpp
test_spi_flash_emulation.cpp

README.md

Build

make -j 6

Run

  • Run particular test case:
./test_nvs "<particular test case>"

  • Run all quick tests:
./test_nvs -d yes exclude:[long]
  • Run all tests (takes several hours)
./test_nvs -d yes