esp-idf/components/nvs_flash/test_nvs_host
Djordje Nedic bbc3add0e3 tools: overhaul csv handling for mfg_gen and nvs_partition_gen
This fixes the issue where multiline strings and strings with delimiters inside the nvs input csv file were incorrectly parsed, and adds back the ability to add comment lines anywhere in the CSV file.

The issue stems from the move away from the python built in csv module to manual parsing, which was made after moving away from using the csv module to parse mfg data.

This reverts back to using the csv module for parsing and writing csv data in both mfg_gen and nvs_partition_gen, fixes the original issue in mfg_gen and improves code quality which makes the code more readable and maintainable.

Closes https://github.com/espressif/esp-idf/issues/7175
2022-06-15 12:31:49 +00:00
..
esp_error_check_stub.cpp
main.cpp
Makefile add: Kconfig assert or errorcode option 2022-05-28 20:29:05 +02:00
README.md
sdkconfig.h add: Kconfig assert or errorcode option 2022-05-28 20:29:05 +02:00
spi_flash_emulation.cpp
spi_flash_emulation.h
test_compressed_enum_table.cpp add: Kconfig assert or errorcode option 2022-05-28 20:29:05 +02:00
test_fixtures.hpp
test_intrusive_list.cpp
test_nvs_cxx_api.cpp
test_nvs_handle.cpp
test_nvs_initialization.cpp
test_nvs_partition.cpp
test_nvs_storage.cpp
test_nvs.cpp tools: overhaul csv handling for mfg_gen and nvs_partition_gen 2022-06-15 12:31:49 +00:00
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