[LTP] [PATCH V3] uart: add uart testcase in kernel device-drivers

Cyril Hrubis chrubis@suse.cz
Tue Mar 31 17:14:44 CEST 2020


Hi!
> I hope the ltp test devices have a more convenient way???
> like auto detect if the machine have these devices
> and can run the device test.
> Now we only test the uart device,we can export PORTxx for the test.
> but if we have to test dozens or even hundreds devices,
> the way to set device environment variable needed test is very trouble and
> time consuming
> So I don't think add need_devices is the best desirable way

I think that the right way is that the detection is in the test
execution framework, not it the test, where it does not belong.

So either the execution framework has to be able to re-run the test for
each UART pair, or we have to be able to pass more structured data to
the test. I will think a bit more about this.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list