esp-idf/components/nvs_flash/test_nvs_host
Djordje Nedic dd10afb18d 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-24 22:18:00 +02: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 Merge branch 'feature/linux_target' into 'master' 2020-12-16 16:25:38 +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 tools: overhaul csv handling for mfg_gen and nvs_partition_gen 2022-06-24 22:18:00 +02: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