PlatformIO Community

Unity test Serial print output gone?

Something has happen in my environment so that I no longer see the output from Serial.print when running Unity tests. I did used to see it, and it still is shown when using the -v verbose option but with verbose there is tons of other output too and it makes things really slow.
Any idea what could have happened or how to get it back?
I’m on PlatformIO Core, version 6.0.1.
I think thats new and before it was version 5 something, could that be related?

1 Like

Do you have the project to reproduce that?

In an empty dir do pio init, add platformio.ini with:

[env:arduino-esp32]
platform = espressif32
board = m5stack-core2
framework = arduino

and in the test folder a test_main.cpp:

#include <Arduino.h>
#include <unity.h>

void setup() {
    delay(2000);
    UNITY_BEGIN();

    Serial.println("hello");
}

void loop() {
    UNITY_END(); 
}

then pio test gives:

pio test
Verbose mode can be enabled via `-v, --verbose` option
Collected 1 tests

Processing * in arduino-esp32 environment
------------------------------------------------------------------------------------------------------------------------
Building...
Uploading...
Testing...
If you don't see any output for the first 10 secs, please reset board (press reset button)

------------------------------------- arduino-esp32:* [PASSED] Took 14.54 seconds -------------------------------------

====================================== 0 test cases: 0 succeeded in 00:00:14.544 ======================================

whereas pio test -v shows the “hello”:

pio test -v
Collected 1 tests (*)

Processing * in arduino-esp32 environment
------------------------------------------------------------------------------------------------------------------------
Building...
FILESYSTEM  spiffs
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/m5stack-core2.html
PLATFORM: Espressif 32 (2.0.3) (https://github.com/Jason2866/platform-espressif32/releases/download/v2.0.3-rc1/platform-espressif32-2.0.3-rc1.zip) > M5Stack Core2
HARDWARE: ESP32 240MHz, 4.31MB RAM, 16MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
 - framework-arduinoespressif32 @ 2.0.3 (https://github.com/Jason2866/platform-espressif32/releases/download/v2.0.3-rc1/esp32-2.0.3-RC1.zip)
 - tool-esptoolpy @ 1.30300.220323 (3.3.0, https://github.com/tasmota/esptool/releases/download/v3.3/esptool-3.3.zip)
 - tool-mklittlefs @ 1.203.210628 (2.3)
 - tool-mkspiffs @ 2.230.0 (2.30)
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 33 compatible libraries
Scanning dependencies...
Dependency Graph
|-- Unity @ 2.5.2 (License: MIT, Path: C:\CQ\unitytest\.pio\libdeps\arduino-esp32\Unity)
Building in test mode
<lambda>(["checkprogsize"], [".pio\build\arduino-esp32\firmware.elf"])
MethodWrapper(["checkprogsize"], [".pio\build\arduino-esp32\firmware.elf"])
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [          ]   0.4% (used 16632 bytes from 4521984 bytes)
Flash: [==        ]  18.9% (used 248213 bytes from 1310720 bytes)
.pio\build\arduino-esp32\firmware.elf  :

section                                                                                size         addr

.rtc.text                                                                                 0   1074528256

.rtc.dummy                                                                                0   1073217536

.rtc.force_fast                                                                           0   1073217536

.rtc.data                                                                                16   1342177792

.rtc_noinit                                                                               0   1342177808

.rtc.force_slow                                                                           0   1342177808

.iram0.vectors                                                                         1027   1074266112

.iram0.text                                                                           59171   1074267140

.dram0.data                                                                           13664   1073470304

.ext_ram_noinit                                                                           0   1065353216

.noinit                                                                                   0   1073483968

.ext_ram.bss                                                                              0   1065353216

.dram0.bss                                                                             2968   1073483968

.flash.appdesc                                                                          256   1061158944

.flash.rodata                                                                         52592   1061159200

.flash.rodata_noload                                                                      0   1061211792

.flash.text                                                                          121759   1074593824

.iram0.text_end                                                                           1   1074326311

.iram0.data                                                                               0   1074326312

.iram0.bss                                                                                0   1074326312

.dram0.heap_start                                                                         0   1073486936

.xtensa.info                                                                             56            0

.comment                                                                                166            0

.xt.lit._ZNKSt8functionIFv22hardwareSerial_error_tEEclES0_                                0            0

.xt.prop._ZNKSt8functionIFv22hardwareSerial_error_tEEclES0_                              48            0

.xt.prop._ZN6Stream9readBytesEPhj                                                        36            0

.xt.prop._ZNSt14_Function_baseD2Ev                                                       36            0

.xt.prop._ZTV14HardwareSerial                                                            12            0

.xt.lit._ZN9IPAddressD5Ev                                                                 0            0

.xt.prop._ZN9IPAddressD5Ev                                                                0            0

.xt.prop._ZN9IPAddressD2Ev                                                               36            0

.xt.prop._ZN9IPAddressD0Ev                                                               36            0

.xt.prop._ZTV9IPAddress                                                                  12            0

.xt.lit._ZN5Print5writeEPKc                                                               0            0

.xt.prop._ZN5Print5writeEPKc                                                             48            0

.xt.lit._ZN6String4initEv                                                                 0            0

.xt.prop._ZN6String4initEv                                                               36            0

.xt.prop._ZNK6String3lenEv                                                               60            0

.xt.prop._ZN6String6setLenEi                                                             72            0

.xt.lit._ZN3nvs4Lock4initEv                                                               0            0

.xt.prop._ZN3nvs4Lock4initEv                                                             72            0

.xt.lit._ZN14intrusive_listIN3nvs7Storage14NamespaceEntryEE17clearAndFreeNodesEv          0            0

.xt.lit._ZN19CompressedEnumTableIbLj1ELj256EE3setEjb                                      8            0

.xt.prop._ZN14intrusive_listIN3nvs7Storage14NamespaceEntryEE17clearAndFreeNodesEv       108            0

.xt.prop._ZN19CompressedEnumTableIbLj1ELj256EE3setEjb                                    60            0

.xt.prop._ZN14intrusive_listIN3nvs7Storage14NamespaceEntryEE9push_backEPS2_              60            0

.xt.lit._ZN3nvs12NVSPartitionD5Ev                                                         0            0

.xt.prop._ZN3nvs12NVSPartitionD5Ev                                                        0            0

.xt.prop._ZN3nvs12NVSPartitionD2Ev                                                       36            0

.xt.prop._ZN3nvs12NVSPartitionD0Ev                                                       36            0

.xt.prop._ZTVN3nvs12NVSPartitionE                                                        12            0

.xt.lit._ZN3nvs19NVSPartitionManagerD5Ev                                                  0            0

.xt.prop._ZN3nvs19NVSPartitionManagerD5Ev                                                 0            0

.xt.prop._ZN3nvs19NVSPartitionManagerD2Ev                                                36            0

.xt.prop._ZN3nvs19NVSPartitionManagerD0Ev                                                36            0

.xt.prop._ZN14intrusive_listIN3nvs12NVSPartitionEE5eraseENS2_8iteratorE                  84            0

.xt.prop._ZTVN3nvs19NVSPartitionManagerE                                                 12            0

.xt.prop._ZN14intrusive_listIN3nvs8HashList13HashListBlockEE5eraseENS3_8iteratorE        84            0

.xt.lit._ZN3nvs4ItemC5EhNS_8ItemTypeEhPKch                                                0            0

.xt.lit._ZNK19CompressedEnumTableIN3nvs4Page10EntryStateELj2ELj126EE3getEj                8            0

.xt.lit._ZN19CompressedEnumTableIN3nvs4Page10EntryStateELj2ELj126EE3setEjS2_              8            0

.xt.prop._ZN3nvs4ItemC5EhNS_8ItemTypeEhPKch                                               0            0

.xt.prop._ZNK19CompressedEnumTableIN3nvs4Page10EntryStateELj2ELj126EE3getEj              60            0

.xt.prop._ZN19CompressedEnumTableIN3nvs4Page10EntryStateELj2ELj126EE3setEjS2_            60            0

.xt.prop._ZN3nvs20isVariableLengthTypeENS_8ItemTypeE                                     48            0

.xt.prop._ZN3nvs4ItemC2EhNS_8ItemTypeEhPKch                                              60            0

.xt.lit._ZN14intrusive_listIN3nvs4PageEE5clearEv                                          0            0

.xt.prop._ZN14intrusive_listIN3nvs4PageEE5clearEv                                        60            0

.xt.prop._ZN14intrusive_listIN3nvs4PageEE9push_backEPS1_                                 60            0

.xt.prop._ZN14intrusive_listIN3nvs4PageEE5eraseENS2_8iteratorE                           84            0

.xt.prop._ZTISt9exception                                                                12            0

.xt.prop._ZTISt9bad_alloc                                                                12            0

.xt.prop._ZTVN10__cxxabiv117__class_type_infoE                                           12            0

.xt.prop._ZTVN10__cxxabiv120__si_class_type_infoE                                        12            0

.xt.prop._ZTISt17bad_function_call                                                       12            0

.xt.prop._ZTVSt17bad_function_call                                                       12            0

.xt.lit._ZNK9__gnu_cxx24__concurrence_lock_error4whatEv                                   8            0

.xt.lit._ZNK9__gnu_cxx26__concurrence_unlock_error4whatEv                                 8            0

.xt.lit._ZN9__gnu_cxx24__concurrence_lock_errorD5Ev                                       8            0

.xt.lit._ZN9__gnu_cxx26__concurrence_unlock_errorD5Ev                                     8            0

.xt.lit._ZN9__gnu_cxx7__mutex4lockEv                                                      8            0

.xt.lit._ZN9__gnu_cxx13__scoped_lockD5Ev                                                  8            0

.xt.prop._ZNK9__gnu_cxx24__concurrence_lock_error4whatEv                                 48            0

.xt.prop._ZNK9__gnu_cxx26__concurrence_unlock_error4whatEv                               48            0

.xt.prop._ZN9__gnu_cxx24__concurrence_lock_errorD5Ev                                     12            0

.xt.prop._ZN9__gnu_cxx26__concurrence_unlock_errorD5Ev                                   12            0

.xt.prop._ZN9__gnu_cxx7__mutex4lockEv                                                    48            0

.xt.prop._ZN9__gnu_cxx13__scoped_lockD5Ev                                                12            0

.xt.prop._ZN9__gnu_cxx24__concurrence_lock_errorD2Ev                                     36            0

.xt.prop._ZN9__gnu_cxx26__concurrence_unlock_errorD2Ev                                   36            0

.xt.prop._ZN9__gnu_cxx24__concurrence_lock_errorD0Ev                                     36            0

.xt.prop._ZN9__gnu_cxx26__concurrence_unlock_errorD0Ev                                   36            0

.xt.prop._ZN9__gnu_cxx13__scoped_lockD2Ev                                                72            0

.xt.prop._ZTIN9__gnu_cxx24__concurrence_lock_errorE                                      12            0

.xt.prop._ZTIN9__gnu_cxx26__concurrence_unlock_errorE                                    12            0

.xt.prop._ZTVN9__gnu_cxx24__concurrence_lock_errorE                                      12            0

.xt.prop._ZTVN9__gnu_cxx26__concurrence_unlock_errorE                                    12            0

.debug_frame                                                                          60936            0

.debug_info                                                                         2923097            0

.debug_abbrev                                                                        251470            0

.debug_loc                                                                           443023            0

.debug_aranges                                                                        24312            0

.debug_ranges                                                                         60816            0

.debug_line                                                                         1134702            0

.debug_str                                                                           245411            0

Total                                                                               5397531
Uploading...
FILESYSTEM  spiffs
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/m5stack-core2.html
PLATFORM: Espressif 32 (2.0.3) (https://github.com/Jason2866/platform-espressif32/releases/download/v2.0.3-rc1/platform-espressif32-2.0.3-rc1.zip) > M5Stack Core2
HARDWARE: ESP32 240MHz, 4.31MB RAM, 16MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
 - framework-arduinoespressif32 @ 2.0.3 (https://github.com/Jason2866/platform-espressif32/releases/download/v2.0.3-rc1/esp32-2.0.3-RC1.zip)
 - tool-esptoolpy @ 1.30300.220323 (3.3.0, https://github.com/tasmota/esptool/releases/download/v3.3/esptool-3.3.zip)
 - tool-mklittlefs @ 1.203.210628 (2.3)
 - tool-mkspiffs @ 2.230.0 (2.30)
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 33 compatible libraries
Scanning dependencies...
Dependency Graph
|-- Unity @ 2.5.2 (License: MIT, Path: C:\CQ\unitytest\.pio\libdeps\arduino-esp32\Unity)
Building in test mode
<lambda>(["checkprogsize"], [".pio\build\arduino-esp32\firmware.elf"])
MethodWrapper(["checkprogsize"], [".pio\build\arduino-esp32\firmware.elf"])
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [          ]   0.4% (used 16632 bytes from 4521984 bytes)
Flash: [==        ]  18.9% (used 248213 bytes from 1310720 bytes)
.pio\build\arduino-esp32\firmware.elf  :

section                                                                                size         addr

.rtc.text                                                                                 0   1074528256

.rtc.dummy                                                                                0   1073217536

.rtc.force_fast                                                                           0   1073217536

.rtc.data                                                                                16   1342177792

.rtc_noinit                                                                               0   1342177808

.rtc.force_slow                                                                           0   1342177808

.iram0.vectors                                                                         1027   1074266112

.iram0.text                                                                           59171   1074267140

.dram0.data                                                                           13664   1073470304

.ext_ram_noinit                                                                           0   1065353216

.noinit                                                                                   0   1073483968

.ext_ram.bss                                                                              0   1065353216

.dram0.bss                                                                             2968   1073483968

.flash.appdesc                                                                          256   1061158944

.flash.rodata                                                                         52592   1061159200

.flash.rodata_noload                                                                      0   1061211792

.flash.text                                                                          121759   1074593824

.iram0.text_end                                                                           1   1074326311

.iram0.data                                                                               0   1074326312

.iram0.bss                                                                                0   1074326312

.dram0.heap_start                                                                         0   1073486936

.xtensa.info                                                                             56            0

.comment                                                                                166            0

.xt.lit._ZNKSt8functionIFv22hardwareSerial_error_tEEclES0_                                0            0

.xt.prop._ZNKSt8functionIFv22hardwareSerial_error_tEEclES0_                              48            0

.xt.prop._ZN6Stream9readBytesEPhj                                                        36            0

.xt.prop._ZNSt14_Function_baseD2Ev                                                       36            0

.xt.prop._ZTV14HardwareSerial                                                            12            0

.xt.lit._ZN9IPAddressD5Ev                                                                 0            0

.xt.prop._ZN9IPAddressD5Ev                                                                0            0

.xt.prop._ZN9IPAddressD2Ev                                                               36            0

.xt.prop._ZN9IPAddressD0Ev                                                               36            0

.xt.prop._ZTV9IPAddress                                                                  12            0

.xt.lit._ZN5Print5writeEPKc                                                               0            0

.xt.prop._ZN5Print5writeEPKc                                                             48            0

.xt.lit._ZN6String4initEv                                                                 0            0

.xt.prop._ZN6String4initEv                                                               36            0

.xt.prop._ZNK6String3lenEv                                                               60            0

.xt.prop._ZN6String6setLenEi                                                             72            0

.xt.lit._ZN3nvs4Lock4initEv                                                               0            0

.xt.prop._ZN3nvs4Lock4initEv                                                             72            0

.xt.lit._ZN14intrusive_listIN3nvs7Storage14NamespaceEntryEE17clearAndFreeNodesEv          0            0

.xt.lit._ZN19CompressedEnumTableIbLj1ELj256EE3setEjb                                      8            0

.xt.prop._ZN14intrusive_listIN3nvs7Storage14NamespaceEntryEE17clearAndFreeNodesEv       108            0

.xt.prop._ZN19CompressedEnumTableIbLj1ELj256EE3setEjb                                    60            0

.xt.prop._ZN14intrusive_listIN3nvs7Storage14NamespaceEntryEE9push_backEPS2_              60            0

.xt.lit._ZN3nvs12NVSPartitionD5Ev                                                         0            0

.xt.prop._ZN3nvs12NVSPartitionD5Ev                                                        0            0

.xt.prop._ZN3nvs12NVSPartitionD2Ev                                                       36            0

.xt.prop._ZN3nvs12NVSPartitionD0Ev                                                       36            0

.xt.prop._ZTVN3nvs12NVSPartitionE                                                        12            0

.xt.lit._ZN3nvs19NVSPartitionManagerD5Ev                                                  0            0

.xt.prop._ZN3nvs19NVSPartitionManagerD5Ev                                                 0            0

.xt.prop._ZN3nvs19NVSPartitionManagerD2Ev                                                36            0

.xt.prop._ZN3nvs19NVSPartitionManagerD0Ev                                                36            0

.xt.prop._ZN14intrusive_listIN3nvs12NVSPartitionEE5eraseENS2_8iteratorE                  84            0

.xt.prop._ZTVN3nvs19NVSPartitionManagerE                                                 12            0

.xt.prop._ZN14intrusive_listIN3nvs8HashList13HashListBlockEE5eraseENS3_8iteratorE        84            0

.xt.lit._ZN3nvs4ItemC5EhNS_8ItemTypeEhPKch                                                0            0

.xt.lit._ZNK19CompressedEnumTableIN3nvs4Page10EntryStateELj2ELj126EE3getEj                8            0

.xt.lit._ZN19CompressedEnumTableIN3nvs4Page10EntryStateELj2ELj126EE3setEjS2_              8            0

.xt.prop._ZN3nvs4ItemC5EhNS_8ItemTypeEhPKch                                               0            0

.xt.prop._ZNK19CompressedEnumTableIN3nvs4Page10EntryStateELj2ELj126EE3getEj              60            0

.xt.prop._ZN19CompressedEnumTableIN3nvs4Page10EntryStateELj2ELj126EE3setEjS2_            60            0

.xt.prop._ZN3nvs20isVariableLengthTypeENS_8ItemTypeE                                     48            0

.xt.prop._ZN3nvs4ItemC2EhNS_8ItemTypeEhPKch                                              60            0

.xt.lit._ZN14intrusive_listIN3nvs4PageEE5clearEv                                          0            0

.xt.prop._ZN14intrusive_listIN3nvs4PageEE5clearEv                                        60            0

.xt.prop._ZN14intrusive_listIN3nvs4PageEE9push_backEPS1_                                 60            0

.xt.prop._ZN14intrusive_listIN3nvs4PageEE5eraseENS2_8iteratorE                           84            0

.xt.prop._ZTISt9exception                                                                12            0

.xt.prop._ZTISt9bad_alloc                                                                12            0

.xt.prop._ZTVN10__cxxabiv117__class_type_infoE                                           12            0

.xt.prop._ZTVN10__cxxabiv120__si_class_type_infoE                                        12            0

.xt.prop._ZTISt17bad_function_call                                                       12            0

.xt.prop._ZTVSt17bad_function_call                                                       12            0

.xt.lit._ZNK9__gnu_cxx24__concurrence_lock_error4whatEv                                   8            0

.xt.lit._ZNK9__gnu_cxx26__concurrence_unlock_error4whatEv                                 8            0

.xt.lit._ZN9__gnu_cxx24__concurrence_lock_errorD5Ev                                       8            0

.xt.lit._ZN9__gnu_cxx26__concurrence_unlock_errorD5Ev                                     8            0

.xt.lit._ZN9__gnu_cxx7__mutex4lockEv                                                      8            0

.xt.lit._ZN9__gnu_cxx13__scoped_lockD5Ev                                                  8            0

.xt.prop._ZNK9__gnu_cxx24__concurrence_lock_error4whatEv                                 48            0

.xt.prop._ZNK9__gnu_cxx26__concurrence_unlock_error4whatEv                               48            0

.xt.prop._ZN9__gnu_cxx24__concurrence_lock_errorD5Ev                                     12            0

.xt.prop._ZN9__gnu_cxx26__concurrence_unlock_errorD5Ev                                   12            0

.xt.prop._ZN9__gnu_cxx7__mutex4lockEv                                                    48            0

.xt.prop._ZN9__gnu_cxx13__scoped_lockD5Ev                                                12            0

.xt.prop._ZN9__gnu_cxx24__concurrence_lock_errorD2Ev                                     36            0

.xt.prop._ZN9__gnu_cxx26__concurrence_unlock_errorD2Ev                                   36            0

.xt.prop._ZN9__gnu_cxx24__concurrence_lock_errorD0Ev                                     36            0

.xt.prop._ZN9__gnu_cxx26__concurrence_unlock_errorD0Ev                                   36            0

.xt.prop._ZN9__gnu_cxx13__scoped_lockD2Ev                                                72            0

.xt.prop._ZTIN9__gnu_cxx24__concurrence_lock_errorE                                      12            0

.xt.prop._ZTIN9__gnu_cxx26__concurrence_unlock_errorE                                    12            0

.xt.prop._ZTVN9__gnu_cxx24__concurrence_lock_errorE                                      12            0

.xt.prop._ZTVN9__gnu_cxx26__concurrence_unlock_errorE                                    12            0

.debug_frame                                                                          60936            0

.debug_info                                                                         2923097            0

.debug_abbrev                                                                        251470            0

.debug_loc                                                                           443023            0

.debug_aranges                                                                        24312            0

.debug_ranges                                                                         60816            0

.debug_line                                                                         1134702            0

.debug_str                                                                           245411            0

Total                                                                               5397531
<lambda>(["upload"], [".pio\build\arduino-esp32\firmware.bin"])
AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
MethodWrapper(["upload"], [".pio\build\arduino-esp32\firmware.bin"])
Auto-detected: COM3
"C:\Users\tornt\.platformio\penv\Scripts\python.exe" "C:\Users\tornt\.platformio\packages\tool-esptoolpy\esptool.py" --chip esp32 --port "COM3" --baud 460800 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 C:\Users\tornt\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32\bin\bootloader_dio_40m.bin 0x8000 C:\CQ\unitytest\.pio\build\arduino-esp32\partitions.bin 0xe000 C:\Users\tornt\.platformio\packages\framework-arduinoespressif32\tools\partitions\boot_app0.bin 0x10000 .pio\build\arduino-esp32\firmware.bin
esptool.py v3.3
Serial port COM3
Connecting......
Chip is ESP32-D0WDQ6-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 24:0a:c4:f8:7e:ec
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 16MB
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x0004cfff...
Flash params set to 0x0240
Compressed 17088 bytes to 11848...
Writing at 0x00001000... (100 %)
Wrote 17088 bytes (11848 compressed) at 0x00001000 in 0.9 seconds (effective 156.7 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 128...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.1 seconds (effective 224.3 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.2 seconds (effective 327.1 kbit/s)...
Hash of data verified.
Compressed 248608 bytes to 135646...
Writing at 0x00010000... (11 %)
Writing at 0x0001d119... (22 %)
Writing at 0x00024e2b... (33 %)
Writing at 0x0002a400... (44 %)
Writing at 0x0002f6f0... (55 %)
Writing at 0x00037bb6... (66 %)
Writing at 0x000402e5... (77 %)
Writing at 0x00045a40... (88 %)
Writing at 0x0004b1d3... (100 %)
Wrote 248608 bytes (135646 compressed) at 0x00010000 in 3.7 seconds (effective 532.3 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
Testing...
If you don't see any output for the first 10 secs, please reset board (press reset button)

hello

-----------------------
0 Tests 0 Failures 0 Ignored
OK
------------------------------------- arduino-esp32:* [PASSED] Took 14.84 seconds -------------------------------------

======================================================= SUMMARY =======================================================
Environment    Test    Status    Duration
-------------  ------  --------  ------------
arduino-esp32  *       SKIPPED   00:00:14.836
====================================== 0 test cases: 0 succeeded in 00:00:14.836 ======================================

Reminds me of

Can you replace Serial.println("hello"); with TEST_MESSAGE("hello") and check if it appears in the regular pio test output?

No TEST_MESSAGE doesn’t show either, only when using -v.

If it worked in PIO core 5.x and the aim is to keep 100% compatibility with it in 6.x, then please file an issue at Issues · platformio/platformio-core · GitHub about this case.

1 Like