esp-idf/components/nvs_flash/test_nvs_host
Jakob Hasse 09d2c5daa6 nvs_flash: fixed deinit other partition's handles
* When deinitializing or erasing a partition,
  nvs used to close all handles instead of only
  the current partition's handles.
  This is fixed now
* Added a unit test for that case

Closes FCS-533
2020-11-27 18:51:05 +08:00
..
Makefile
README.md
crc.cpp Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
crc.h
esp_error_check_stub.cpp
main.cpp
sdkconfig.h
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
test_intrusive_list.cpp Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
test_nvs.cpp nvs_flash: fixed deinit other partition's handles 2020-11-27 18:51:05 +08:00
test_nvs_cxx_api.cpp
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
test_nvs_storage.cpp Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00: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

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