Hi, --- On Sat, 4/11/09, Daniel Lazzari <[email protected]> wrote:
> From: Daniel Lazzari <[email protected]> > Subject: [LTP] Way of compiling subsets of LTP tests? > To: [email protected] > Date: Saturday, April 11, 2009, 7:42 AM > Hi, > > I'm working with an > embedded Linux distro that does not have all of the normal > Linux capabilities. > We're still interested in running a handpicked subset > of LTP tests but so far > have not found an easy way of specifying what tests we want > when building LTP. I > realize I can edit a lot of the makefiles and then generate > our own test > script, but I was wondering if I'm missing an easy way > to specify this in a > configuration file or on the command > line. > Even if you don't have capabilities to run all tests, if you can run, # ./configure first, it should make sure only compiling tests that working in your environment. If not, we'll probably to fix it there. Then, you can just put the list of tests to runtest/, and use runltp to run it. You might be able to run all existing tests from runtest/, because some tests check the test environment (glibc, kernel features etc.) to only execute on suitable one. However, it is not clear to me that there is such a rule when creating tests, so there is no guarantee all tests have such a checking. In addition, you can compile almost any subset of LTP tests like this, # for i in lib tools testcases/<any test dir>; do # make; make install # done Again, to run those tests, you can edit existing files in runtest/ to leave the ones you want there, or gather the list of tests into a new file there. CAI Qian > Thanks, > > Dan > Lazzari > > -----Inline Attachment Follows----- > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer > Now! > http://p.sf.net/sfu/www-ibm-com > -----Inline Attachment Follows----- > > _______________________________________________ > Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list > ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
