[LTP] [PATCH 2/2] device_drivers/uart01: Add uart01 test
Cixi Geng
gengcixi@gmail.com
Tue May 12 04:32:52 CEST 2020
Cyril Hrubis <chrubis@suse.cz> 于2020年5月11日周一 下午5:37写道:
>
> Hi!
> > I had study the ltp execution framework and found that the LTP
> > detection device is
> > not suitable for device driver test at present.
> > Like the UART test, I want have a auto-detect way to find the device
> > needed to test
> > in the current running LtP machines.
> > Now I have test the uart case in several sprdtream Soc
> > these board have different /dev/tty* device???and I nedd run in CI
> > manual export device puzzled me to do the auto-test-job.
> > moreover I wil porting other device driver testcases in the future.
> > So can We expand the LTP detection ?
>
> Sorry I haven't managed to work on this before it was time for LTP
> release. I will resume my work on this once LTP is released.
>
> My generall idea is that the LTP framework will get a path to a
> directory with scripts that would be evaluated at test runtime and will
> return list of devices to test. These scripts will have to be supplied
> by the user as managing lab hardware is out of scope of the LTP
> framework.
>
> --
> Cyril Hrubis
> chrubis@suse.cz
Thank you for your guidance,In the Next time, I will try to fork a
process in serialcheck.c
So it can be test Tx & Rx at one time.And then to develop the
detection scripts if hava a time
I'll keep you posted on the status.
More information about the ltp
mailing list