twister: program get stuck when serial in hardware map is empty string #41169
Labels
area: Twister
Twister
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Describe the bug
When in hardware map serial option is set as empty string, the program do not rise any error - instead of this it goes forward and gets stuck into wait for device loop
To Reproduce
Steps to reproduce the behavior:
scripts/twister --device-testing --hardware-map map.yml -T samples/hello_world/ -v -v
Expected behavior
Program should rise en error (for not existing serial port).
Impact
Annoyance - program get stuck into wait loop and block tests performing.
Environment (please complete the following information):
Additional context
I already have proposition for fix this bug and I will create PR soon
The text was updated successfully, but these errors were encountered: