[Fuego] Functional.LTP failed with "./ltp_target_run.sh not found"

Liu, Wenlong liuwl.fnst at cn.fujitsu.com
Wed Oct 11 06:00:22 UTC 2017


Hi Tim,

> -----Original Message-----
> From: Bird, Timothy [mailto:Tim.Bird at sony.com]
> Sent: Wednesday, October 11, 2017 1:35 PM
> To: Liu, Wenlong/刘 文龙 <liuwl.fnst at cn.fujitsu.com>;
> fuego at lists.linuxfoundation.org
> Subject: RE: Functional.LTP failed with "./ltp_target_run.sh not found"
> 
> 
> 
> > -----Original Message-----
> > From: Liu, Wenlong on Tuesday, October 10, 2017 10:10 PM
> > > Have you run Functional.LTP with the 'buildonly' spec yet?
> > > This should deploy the ltp_target_run.sh script to the target.
> > > Then you can execute other specs.
> > >
> > > We should probably put something in the test_pre_check for LTP, when
> > > "runonly" is true, to check that LTP has previously been deployed to
> > > the target.  Checking for ltp_target_run.sh might just do the trick.
> > I know what you mean, but the LTP is already installed on my target
> > board(build and deploy are not necessary for me).
> > The LTP is already installed when the rootfs is made.
> 
> Ahh.  OK.  This is definitely a use case we want to support.
> So, just to clarify, you already have LTP installed in /opt/ltp on the target
> board, and you just need any Fuego-specific bits deployed to the board,
> in order to run the tests?
Yes, you're right.

> I think this is something we should try to detect automatically, so users
> don't have to configure the 'runonly' variable themselves, and can run any
> of the specs with the LTP that is preinstalled.
Yes, it'll be great.
But as Daniel said, non-patched versions of LTP are not supported by the parser(POSIX related would be not supported).

> I will look at this some more tomorrow.
OK, thanks.
 
> Is /opt/ltp a common place that LTP gets installed if it's packaged by (say)
> Yocto or buildroot?  Does anyone know if there is a standard for this?
I don't know much about that, but it seems that /opt/ltp is a common place if it's packaged by Yocto.

> Thanks.
>   --Tim
> 





More information about the Fuego mailing list