Hello Sir, I need one help to run individual test cases.
We current have option to runltp using the option -f CMDFILES Execute user defined list of testcases (separate with ',') -F LOOPS,PERCENTAGE Induce PERCENTAGE Fault in the Kernel Subsystems, and, run each test for LOOPS loop Here we give option of packages from the names of files provides under path. \ltp-full-20140828\out\runtest Like sh ./runltp -f <module name> , eg: ipc,mm,sched,commands etc These names are there as files in the . \ltp-full-20140828\out\runtest directory. But suppose I want to execute the commands module but not all test cases under commands. Currently the script of command is : #DESCRIPTION:General Linux commands ar export TCdat=$LTPROOT/testcases/bin; ar01 ld export TCdat=$LTPROOT/testcases/bin; ld01 ldd export TCdat=$LTPROOT/testcases/bin; ldd01 nm export TCdat=$LTPROOT/testcases/bin; nm01 objdump export TCsrc=$LTPROOT/testcases/bin; objdump01 file export TCdat=$LTPROOT/testcases/bin; file_test.sh tar export TCdat=$LTPROOT/testcases/bin; tar_tests.sh cron export TCdat=$LTPROOT/testcases/bin; cron_tests.sh logrotate export TCdat=$LTPROOT/testcases/bin; logrotate_tests.sh mail export TCdat=$LTPROOT/testcases/bin; mail_tests.sh cpio export TCdat=$LTPROOT/testcases/bin; cpio_tests.sh unzip01 unzip_tests.sh $LTPROOT/testcases/data/tst_unzip_file.zip gzip01 gzip_tests.sh cp_tests01 cp_tests.sh ln_tests01 ln_tests.sh mkdir_tests01 mkdir_tests.sh mv_tests01 mv_tests.sh size01 size01 sssd01 sssd01 sssd02 sssd02 sssd03 sssd03 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. Regards, Raju Biswas -----Original Message----- From: Cyril Hrubis [mailto:chru...@suse.cz] Sent: Monday, December 08, 2014 4:24 PM To: Raju Cc: 'Jan Stancek'; ltp-list@lists.sourceforge.net Subject: Re: [LTP] How to compile indiviual packages/modules in LTP 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 chru...@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