mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
Merge branch 'bugfix/linux_target_gen_partition_table' into 'master'
multiple fixes for linux target Closes IDF-6641 See merge request espressif/esp-idf!21993
This commit is contained in:
@@ -8,5 +8,3 @@ set(COMPONENTS main)
|
||||
list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/mocks/freertos/")
|
||||
|
||||
project(nvs_host_test)
|
||||
|
||||
add_dependencies(nvs_host_test.elf partition-table)
|
||||
|
@@ -33,10 +33,8 @@ First, make sure that the target is set to Linux. Run `idf.py --preview set-targ
|
||||
|
||||
## Run
|
||||
|
||||
IDF monitor doesn't work yet for Linux. You have to run the app manually:
|
||||
|
||||
```bash
|
||||
./build/host_nvs_page_test.elf
|
||||
idf.py monitor
|
||||
```
|
||||
|
||||
## Coverage
|
||||
@@ -48,7 +46,7 @@ To generate the coverage, run: `idf.py coverage`. Afterwards, you can view the c
|
||||
Ideally, all tests pass, which is indicated by the last two log lines after the dashed line:
|
||||
|
||||
```bash
|
||||
build/host_nvs_page_test.elf
|
||||
$ idf.py monitor
|
||||
../main/nvs_page_test.cpp:880:test_Page_load_reading_header_fails:PASS
|
||||
../main/nvs_page_test.cpp:881:test_Page_load_reading_data_fails:PASS
|
||||
../main/nvs_page_test.cpp:882:test_Page_load__uninitialized_page_has_0xfe:PASS
|
||||
|
Reference in New Issue
Block a user