On Tue, 22 Apr 2014 16:07:17 +0200 <chru...@suse.cz> wrote: > Hi! > > This patch introduces a new test case, partrt_nohz_full. > > > > This is sent as an RFC since as far as I understand it ltp is under > > stabilization. But I still wanted to send what I've got currently > > to see if there are any major issues with it. > > > > This test case requires a couple of tools which can be cloned from > > here: > > > > https://github.com/OpenEneaLinux/rt-tools > > This may be a problematic, LTP testcases should be as selfcontained as > possible and should depend only on standard libraries/tools.
I've thought about this. The problem is that these tools is only one way of doing it. Performing CPU isolation in Linux is still something of a black art, so my idea was to show one way that we have got it working for at least some boards. Since how to do this is also dependent on architecture, board, kernel version and kernel configuration I didn't want to tie these script too closely to the test case since the test case by itself is quite generic. Having these tools as copies in LTP repository gives additional maintenance burden that I feel is unnecessary. The tools are needed for other purposes as well, so moving them to LTP is not an option. But if you have a good idea how to solve this dilemma, I'd like to hear about it. > > The tools are scripts so they are easily copied to somewhere PATH > > will find them. > > > > The patch applies on ltp, which can be cloned from here: > > > > https://github.com/linux-test-project/ltp.git > > > > The patch applies to commit hash > > b24ce8f6bcf315078bdc48bbddf780b964ffa59a. > > > > To run the test case, do the following: > > > > partrt create <cpumask> > > Again selfcontained, the testcase should be able to run just by > runltp. Any preparation and cleanup should be done in the testcase. I guess I optimized for manual testing rather than regression testing here. This shouldn't be hard to fix... Regards Mats Liljegren ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list