Skip to contentSkip to conversation

Question mapping LTP testcases with Kernel setting?

LTP duynv 2 participants 3 messages Jan 8, 2013 – Jan 10, 2013 1 message not in the archive

lore
Share & tools
lore

duynv

author
#0 lore raw

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

Signature · 20 lines
Nguyễn Văn Duy
Toshiba Software Development (Viet Nam) Co, Ltd
*********************************************************
Add   : 16th Floor,519 Kim Ma Str , Ba Dinh Dist , Ha Noi
Email :[email protected]
*********************************************************
Note: This e-mail message may contain personal information or confidential information.
If you are not the addressee of this message, please delete this message and kindly notify the sender as soon as possible, do not copy, use, or disclose this message.


------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#1 lore raw
Quoted 8 lines · duynv

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)

Quoted 7 lines

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

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 23 lines · duynv

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
....

Quoted 8 lines

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

Quoted 28 lines · shubham
Quoted 26 lines · duynv
Quoted 8 lines

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)

Quoted 7 lines

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.

Quoted 4 lines
Quoted 3 lines

Thanks,
Shubham

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list