mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fe7ebf75a0
Closes https://github.com/espressif/esp-idf/issues/4755 Closes https://github.com/espressif/esp-idf/issues/2777 Closes FCS-533 * nvs_flash_erase_partition() checks whether the parition in question is initialized already and will return an error if so * reflect changes in the documentation * nvs host unit tests now clean up after each test case 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 |
||
---|---|---|
.. | ||
crc.cpp | ||
crc.h | ||
esp_error_check_stub.cpp | ||
main.cpp | ||
Makefile | ||
README.md | ||
sdkconfig.h | ||
spi_flash_emulation.cpp | ||
spi_flash_emulation.h | ||
test_compressed_enum_table.cpp | ||
test_intrusive_list.cpp | ||
test_nvs_cxx_api.cpp | ||
test_nvs_handle.cpp | ||
test_nvs_initialization.cpp | ||
test_nvs_storage.cpp | ||
test_nvs.cpp | ||
test_partition_manager.cpp | ||
test_spi_flash_emulation.cpp |
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