Re: [LTP] How to compile indiviual packages/modules in LTP

Cyril Hrubis
2014-12-08T10:54:23Z

Hi!
> When we compile the complete LTP and INSTALL in our target its more than 1
> GB of the compiled output.

That is a bit strange. For me the result is less than two hundred
megabytes, your result is nearly ten times greater. This looks like a
bug in your compiler/binutils.

> We do not have enough memory to copy all the LTP INSTALLED files and
> hence we want to compile only the selected test cases which we want to
> execute. That is why when I tried to explore options I was not able to
> find any which will do that. Hence need help on how can we do that ?

If your target has network interface you can use nfs to share the
LTP binary directory over the network.

> Suppose we have "ade at cpio cron eject fileutils gzip logrotate
> mail Makefile sssd su tar tpm-tools unzip" commands in the
> /ltp-full-20140828/testcases/commands/ dir. We need to compile only ade ,
> gzip , tar , unzip for our purpose and not compile the complete command
> folder. Hence we need help on how to compile the selected package.

I've allready explained how to do that by hand. There is no other way to
do that.