Return-Path: Received: from sfi-mx-1.v28.ch3.sourceforge.com ([172.29.28.121] helo=mx.sourceforge.net) by h25xhf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1MgCfj-0003s6-3M for ltp-list@lists.sourceforge.net; Wed, 26 Aug 2009 07:11:55 +0000 Received: from e38.co.us.ibm.com ([32.97.110.159]) by 29vjzd1.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) id 1MgCfa-00081I-Da for ltp-list@lists.sourceforge.net; Wed, 26 Aug 2009 07:11:55 +0000 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e38.co.us.ibm.com (8.14.3/8.13.1) with ESMTP id n7Q77v6Q019830 for ; Wed, 26 Aug 2009 01:07:57 -0600 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n7Q7Begm239422 for ; Wed, 26 Aug 2009 01:11:40 -0600 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n7Q7BeVH032036 for ; Wed, 26 Aug 2009 01:11:40 -0600 Received: from [9.124.223.50] ([9.124.223.50]) by d03av01.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n7Q7BcqX031948 for ; Wed, 26 Aug 2009 01:11:39 -0600 From: Subrata Modak In-Reply-To: <20090824093204.31997.18175.sendpatchset@subratamodak.linux.ibm.com> References: <20090824093204.31997.18175.sendpatchset@subratamodak.linux.ibm.com> Date: Wed, 26 Aug 2009 12:41:34 +0530 Message-Id: <1251270695.19240.5.camel@subratamodak.linux.ibm.com> Mime-Version: 1.0 Subject: Re: [LTP] [PATCH 00/02] Integrate Valgrind Memory Check Tool to LTP Reply-To: subrata@linux.vnet.ibm.com List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: LTP Mailing List On Mon, 2009-08-24 at 15:02 +0530, Subrata Modak wrote: > Hi, > > Introducing and Integrating the Valgrind Memory Leak Check tools to LTP. Now in LTP. Regards-- Subrata > This again is in line with the OLS 2009 paper where we proposed that > memory leak check for LTP test cases will become part of LTP soon. > > Valgrind is one of the best Memory Leak Check tools available to the open > source community and being widely used by many maintainers of Open Source > Projects to regularly check the health of their code. On similar lines, we > would like it to check the various dynamic issues related to Memory Leaks, > Thread Concurrencies for the LTP tests so that we minimize those errors > for the LTP tests. The following set of Patches will: > > 1) Integrate within LTP infrastructure the use of VALGRIND tool, > 2) Internal check against unavailability of this tools on your machine, > 3) Running through runltp, the various: > 3.1) Memory Leak Checks, > 3.2) Thread Concurrency Checks, > on all LTP tests that the user intents to run/check, > 4) Comparisn of how a normal test run differs from the the test run > through Valgrind, > > Now, you may ask the question why donB4t we use Valgrind independantly ? > True, it can be done. But, it becomes more simple when we can ask runltp > to do the job for us and remaining everything remains in LTP format. And, > this is handy for test case developers who can do a quick check on the > tests they have just developed. > > When you want to run your tests/sub-tests through Valgrind tool, what you > have to just do is: > > ./runltp -f -M [1,2,3] > > CHECK_TYPE=1 => Full Memory Leak Check tracing children as well > CHECK_TYPE=2 => Thread Concurrency Check tracing children as well > CHECK_TYPE=3 => Full Memory Leak & Thread Concurrency Check tracing children as well > > The above options in LTP will usher in better Test Case development. > > Regards-- > Subrata > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list