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
..
crc.cpp Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
crc.h add unit tests to esp-idf 2016-11-22 14:45:50 +08: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 NVS: using esp_partition API 2020-09-14 10:34:34 +08:00
README.md NVS: expose C++ API 2020-01-09 18:29:23 +08:00
sdkconfig.h nvs: minor host test fixes 2019-07-02 10:26:06 +02: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: fixed deinit other partition's handles 2020-11-27 18:51:05 +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