esp-idf/components/nvs_flash/test_nvs_host
radek.tandler ffaf1d2968 feat(nvs_flash): Added Kconfig option contolling NVS heap allocation source
NVS configuration is extended with Kconfig option controlling RAM area for
NVS heap allocation. Either Internal RAM or SPIRAM can be chosen.
Tests were extended to check memory consumption from Internal and SPIRAM pool with respect
to the Kconfig option chosen.
Documentation was extended with notes related to NVS behavior in various situations.
2024-06-06 08:25:51 +02:00
..
main.cpp add unit tests to esp-idf 2016-11-22 14:45:50 +08:00
Makefile feat(nvs_flash): Added Kconfig option contolling NVS heap allocation source 2024-06-06 08:25:51 +02:00
README.md NVS: expose C++ API 2020-01-09 18:29:23 +08:00
sdkconfig.h feat(log): Refactoring tag level check APIs 2024-05-16 09:26:08 +03:00
spi_flash_emulation.cpp fix(storage): applied spelling fixes by codespell pre-commit hook 2024-03-28 13:00:54 +01:00
spi_flash_emulation.h fix(storage): applied spelling fixes by codespell pre-commit hook 2024-03-28 13:00:54 +01:00
test_compressed_enum_table.cpp nvs_flash/host_test: migrated to the CMake build system and nvs flash Linux implementation 2022-11-16 14:15:23 +01:00
test_fixtures.hpp feat(partition_table): Add read-only partition flag and functionality 2023-10-11 00:01:05 +02:00
test_intrusive_list.cpp Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
test_nvs_partition.cpp nvs_flash/host_test: migrated to the CMake build system and nvs flash Linux implementation 2022-11-16 14:15:23 +01:00
test_nvs.cpp refactor(nvs_flash): Host test migrated to esp_partition emulation for linux 2023-08-09 14:14:21 +02:00
test_partition_manager.cpp refactor(nvs_flash): Host test migrated to esp_partition emulation for linux 2023-08-09 14:14:21 +02:00
test_spi_flash_emulation.cpp test_nvs_host: fix asan reported bugs 2023-04-03 16:30:02 -04: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