about add dependency on device-testing

Hake Huang

Hi Maciej,


I try to implement the dependency on –device-test on –device-serial / --device-serial-pty / --hardware-map




but I meet a problem, above code only works when you command line as below


./scripts/twister –device-serial /dev/ttyACM0 –device-test


But not work when you do below, which I believe is most of our default scripts does


./scripts/twister –device-test –device-serial /dev/ttyACM0


Do you have any idea on implement this? Thanks in advance.