public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] How to compile indiviual packages/modules in LTP
@ 2014-12-08  8:42 Raju
  2014-12-08  9:15 ` Jan Stancek
  0 siblings, 1 reply; 5+ messages in thread
From: Raju @ 2014-12-08  8:42 UTC (permalink / raw)
  To: ltp-list


[-- Attachment #1.1: Type: text/plain, Size: 1151 bytes --]

Hello Sir,

 

There are lot of test suit modules / packages currently under LTP.

Examples :

 

/ltp-full-20140828/testcases/commands/

 

ade  at  cpio  cron  eject  fileutils  gzip  logrotate  mail  Makefile  sssd
su  tar  tpm-tools  unzip

 

/ltp-full-20140828/testcases/kernel

 

connectors  controllers     firmware  hotplug  io   lib      Makefile  mem
numa              pty    security  timers

containers  device-drivers  fs        include  ipc  logging  mce-test
module  power_management  sched  syscalls  tracing

 

etc.

 

Currently we have option to compile the whole LTP package. But suppose I do
not want some modules to get compiled Ex. Ade , gzip , security , timers etc
, but compile the rest of the LTP test suit. How can I do it ?

 

I do not want to whole LTP to get compiled but compile only the selected
test package.  How can I select the packages to compile.  It is just like we
do not compile the complete kernel but compile what is required for our
need. Similar to that how can we compile what we need and not the complete
package. 

 

Request help to compile selected package in LTP. 

 

Regards,

Raju Biswas

 


[-- Attachment #1.2: Type: text/html, Size: 3910 bytes --]

[-- Attachment #2: Type: text/plain, Size: 441 bytes --]

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LTP] How to compile indiviual packages/modules in LTP
  2014-12-08  8:42 [LTP] How to compile indiviual packages/modules in LTP Raju
@ 2014-12-08  9:15 ` Jan Stancek
  2014-12-08  9:18   ` Cyril Hrubis
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Stancek @ 2014-12-08  9:15 UTC (permalink / raw)
  To: Raju; +Cc: ltp-list

----- Original Message ----- 
> From: "Raju" <raju.biswas@samsung.com>
> To: ltp-list@lists.sourceforge.net
> Sent: Monday, 8 December, 2014 9:42:20 AM
> Subject: [LTP] How to compile indiviual packages/modules in LTP
> Hello Sir,
> There are lot of test suit modules / packages currently under LTP.
> Examples :
> /ltp-full-20140828/testcases/commands/
> ade at cpio cron eject fileutils gzip logrotate mail Makefile sssd su tar
> tpm-tools unzip
> /ltp-full-20140828/testcases/kernel
> connectors controllers firmware hotplug io lib Makefile mem numa pty security
> timers
> containers device-drivers fs include ipc logging mce-test module
> power_management sched syscalls tracing
> etc.
> Currently we have option to compile the whole LTP package. But suppose I do
> not want some modules to get compiled Ex. Ade , gzip , security , timers etc
> , but compile the rest of the LTP test suit. How can I do it ?

If none of configure options works for you, as outline by Cyril here:
  http://thread.gmane.org/gmane.linux.ltp/21992

you need to make changes yourself. If specific Makefile doesn't name
sub-directories by name, then delete the ones you don't want to compile from tree.
If Makefile does list sub-directories by name, then you need to patch that Makefile
and remove those you wish to skip.

Regards,
Jan

> I do not want to whole LTP to get compiled but compile only the selected test
> package. How can I select the packages to compile. It is just like we do not
> compile the complete kernel but compile what is required for our need.
> Similar to that how can we compile what we need and not the complete
> package.
> Request help to compile selected package in LTP.
> Regards,
> Raju Biswas
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LTP] How to compile indiviual packages/modules in LTP
  2014-12-08  9:15 ` Jan Stancek
@ 2014-12-08  9:18   ` Cyril Hrubis
       [not found]     ` <002601d012d3$7daa5a20$78ff0e60$@samsung.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Cyril Hrubis @ 2014-12-08  9:18 UTC (permalink / raw)
  To: Jan Stancek; +Cc: ltp-list

Hi!
> If none of configure options works for you, as outline by Cyril here:
>   http://thread.gmane.org/gmane.linux.ltp/21992
> 
> you need to make changes yourself. If specific Makefile doesn't name
> sub-directories by name, then delete the ones you don't want to compile from tree.
> If Makefile does list sub-directories by name, then you need to patch that Makefile
> and remove those you wish to skip.

And I have a feeling that you are trying to solve wrong problem. What
exactly do you want to do?

If you want to run a subset of testcases you should compile and install
all of them and then tell test driver to executed only these you are
interested in.

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LTP] How to compile indiviual packages/modules in LTP
       [not found]     ` <002601d012d3$7daa5a20$78ff0e60$@samsung.com>
@ 2014-12-08 10:54       ` Cyril Hrubis
       [not found]         ` <002801d012df$f113fb90$d33bf2b0$@samsung.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Cyril Hrubis @ 2014-12-08 10:54 UTC (permalink / raw)
  To: Raju; +Cc: ltp-list

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.

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LTP] How to compile indiviual packages/modules in LTP
       [not found]         ` <002801d012df$f113fb90$d33bf2b0$@samsung.com>
@ 2014-12-08 12:17           ` Cyril Hrubis
  0 siblings, 0 replies; 5+ messages in thread
From: Cyril Hrubis @ 2014-12-08 12:17 UTC (permalink / raw)
  To: Raju; +Cc: ltp-list

Hi!
> But I do not want to execute all the test cases under commands list. I want
> to know is there any option so that we can run selected commands. We can
> give this option from the shell prompt.
> 
> Example we want to run suppose ar, ld , ldd only commands and not execute
> all the commands. 
> 
> How can we execute selected commands ? 
> 
> Similar way for other modules under different directory kernel , lib ,
> network etc.

The easiest solution is to do a copy of the runtest file and edit it by
hand to fit your needs.

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-12-08 12:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-08  8:42 [LTP] How to compile indiviual packages/modules in LTP Raju
2014-12-08  9:15 ` Jan Stancek
2014-12-08  9:18   ` Cyril Hrubis
     [not found]     ` <002601d012d3$7daa5a20$78ff0e60$@samsung.com>
2014-12-08 10:54       ` Cyril Hrubis
     [not found]         ` <002801d012df$f113fb90$d33bf2b0$@samsung.com>
2014-12-08 12:17           ` Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox