esp-idf/components/nvs_flash/test_nvs_host
Jakob Hasse 84d184bdb0 Merge branch 'bugfix/nvs_corrupted_storage_crashes_app' into 'master'
[NVS]: fix crashes from entry state 1

See merge request espressif/esp-idf!14548
2021-08-06 09:14:21 +00:00
..
esp_error_check_stub.cpp ESP_ERROR_CHECK converts error code to text 2018-05-31 12:53:37 +02:00
main.cpp add unit tests to esp-idf 2016-11-22 14:45:50 +08:00
Makefile [esp_rom]: Partially buildable for linux 2021-08-03 12:03:24 +08:00
README.md NVS: expose C++ API 2020-01-09 18:29:23 +08:00
sdkconfig.h [esp_rom]: Partially buildable for linux 2021-08-03 12:03:24 +08:00
spi_flash_emulation.cpp Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
spi_flash_emulation.h Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
test_compressed_enum_table.cpp Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
test_fixtures.hpp NVS: using esp_partition API 2020-09-14 10:34:34 +08:00
test_intrusive_list.cpp Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
test_nvs_cxx_api.cpp NVS: using esp_partition API 2020-09-14 10:34:34 +08:00
test_nvs_handle.cpp Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
test_nvs_initialization.cpp Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
test_nvs_partition.cpp NVS: using esp_partition API 2020-09-14 10:34:34 +08:00
test_nvs_storage.cpp Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
test_nvs.cpp [nvs_flash]: Entries with state == 1 don't crash 2021-07-30 18:33:27 +08:00
test_partition_manager.cpp Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
test_spi_flash_emulation.cpp Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00

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