From: shubham <sh...@li...> - 2013-01-10 09:29:27
|
On 01/08/2013 01:22 PM, duynv wrote: > Dear Sir! > Thanks for your reply. > Because we want to test our kernel. So when we build kernel some > config options are disabled. > I know what config options are disabled and i want to map between LTP > test case and kernel config to omit LTP test case when make install LTP > > I found in README file information below > ... > --------------------------------- > Enabling Kernel Configuration to test Controllers > --------------------------------- > CONFIG_CGROUPS=y > CONFIG_CGROUP_DEBUG=y > CONFIG_CGROUP_NS=y > CONFIG_GROUP_SCHED=y > CONFIG_FAIR_GROUP_SCHED=y > CONFIG_RT_GROUP_SCHED=y > CONFIG_CGROUP_SCHED=y > CONFIG_CGROUP_MEM_RES_CTLR=y > CONFIG_LOCKDEP=y > .... > > I think It mean, if those config options is not set when build kernel > all test case in Controllers no need to install and run. So when i > make LTP i dont want to make test cases in Controllers folder > > It's right? I can find out and map all test cases with kernel setting > in LTP project or in other document? > > Thanks. Hi Duy, The kernel options which are described in the "README" file are the kernel configurations we need to enable (before building the kernel) for testing that particular feature like controllers, power management or hotplugging. The facility of kernel config analysis and building the LTP based on that config options is not yet available. So you need to determine which tests you wish to run per your kernel configuration and than execute a customized LTP test run. Thanks, Shubham > > On 1/8/2013 13:23, shubham wrote: >> On 01/08/2013 09:30 AM, duynv wrote: >>> Dear Sir! >>> I'm Duy. >>> >>> I am working with LTP to test our linux kernel. >>> we want to collect LTP test cases to test our kernel base on the >>> kernel setting(configuration file create by "make menuconfig"). >>> (we want to omit unnecessary test case) >>> >>> But LTP has so many test cases. I can't mapping LTP test case with >>> appropriate kernel setting >>> Could you please tell me the way to make a mapping list between LTP >>> test case with kernel setting >>> >>> Thank you >>> >> >> Hi Duy, >> >> I believe its not possible to direct map LTP test cases with the >> current kernel settings. What you can do is select the subsystems or >> components you wish to test and than run only those tests by >> customizing the LTP test runs. For your information you can select >> the tests you wish to run from 'runtest' directory of the extracted >> LTP tarball. >> >> Thanks, >> Shubham >> > |