Re: [igt-dev] [PATCH i-g-t v5 2/2] Add device selection for IGT

Katarzyna Dec
2019-08-28T06:18:38Z

On Fri, Aug 23, 2019 at 09:03:51AM +0200, Zbigniew Kempczyński wrote:
> New IGT command line argument --device, IGT_DEVICE enviroment
> and .igtrc Common::Device were added to allow selecting device
> using device selection API.
>
> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
> Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
> Cc: Daniel Vetter <daniel@ffwll.ch>
> Cc: Petri Latvala <petri.latvala@intel.com>

Code looks good, but I found some hole in usage. When you give wrong value to
'--device' parameter while running igt test - binary 'hangs' looping
infinitely.
Does it supposed to work like that?
Kasia :)