From e7540dbe0e8e50e185f5564b8ad3ae6cd89a21f0 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Tue, 10 Jan 2023 18:08:52 +0100 Subject: [PATCH] docs: remove the outdated "IDF monitor doesn't work on linux" notes --- .../esp_partition/host_test/partition_api_test/README.md | 2 +- components/esp_rom/host_test/rom_test/README.md | 6 ++---- components/log/host_test/log_test/README.md | 6 ++---- components/nvs_flash/host_test/nvs_page_test/README.md | 6 ++---- components/spiffs/host_test/README.md | 2 +- 5 files changed, 8 insertions(+), 14 deletions(-) diff --git a/components/esp_partition/host_test/partition_api_test/README.md b/components/esp_partition/host_test/partition_api_test/README.md index 73c2e9762f..10b893d003 100644 --- a/components/esp_partition/host_test/partition_api_test/README.md +++ b/components/esp_partition/host_test/partition_api_test/README.md @@ -13,5 +13,5 @@ idf.py build # Run ```bash -`build/partition_api_test.elf` +idf.py monitor ``` diff --git a/components/esp_rom/host_test/rom_test/README.md b/components/esp_rom/host_test/rom_test/README.md index 4e99101c90..22e67c9eae 100644 --- a/components/esp_rom/host_test/rom_test/README.md +++ b/components/esp_rom/host_test/rom_test/README.md @@ -19,10 +19,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/test_rom_host.elf +idf.py monitor ``` ## Example Output @@ -30,7 +28,7 @@ IDF monitor doesn't work yet for Linux. You have to run the app manually: Ideally, all tests pass, which is indicated by "All tests passed" in the last line: ```bash -$ ./build/test_rom_host.elf +$ idf.py monitor test =============================================================================== All tests passed (8 assertions in 6 test cases) diff --git a/components/log/host_test/log_test/README.md b/components/log/host_test/log_test/README.md index 4c37b52c7d..47d25b4716 100644 --- a/components/log/host_test/log_test/README.md +++ b/components/log/host_test/log_test/README.md @@ -19,10 +19,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/test_log_host.elf +idf.py monitor ``` ## Example Output @@ -30,7 +28,7 @@ IDF monitor doesn't work yet for Linux. You have to run the app manually: Ideally, all tests pass, which is indicated by "All tests passed" in the last line: ```bash -$ ./build/test_log_host.elf +$ idf.py monitor =============================================================================== All tests passed (8 assertions in 6 test cases) ``` diff --git a/components/nvs_flash/host_test/nvs_page_test/README.md b/components/nvs_flash/host_test/nvs_page_test/README.md index cf48e50a71..65699e802f 100644 --- a/components/nvs_flash/host_test/nvs_page_test/README.md +++ b/components/nvs_flash/host_test/nvs_page_test/README.md @@ -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 diff --git a/components/spiffs/host_test/README.md b/components/spiffs/host_test/README.md index dc6f6df5fd..a545955fa3 100644 --- a/components/spiffs/host_test/README.md +++ b/components/spiffs/host_test/README.md @@ -13,5 +13,5 @@ idf.py build # Run ```bash -build/host_test_spiffs.elf +idf.py monitor ```