From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1PBQza-0004r9-Cy for ltp-list@lists.sourceforge.net; Thu, 28 Oct 2010 11:50:02 +0000 Received: from e23smtp02.au.ibm.com ([202.81.31.144]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) id 1PBQzX-00053Q-I8 for ltp-list@lists.sourceforge.net; Thu, 28 Oct 2010 11:50:02 +0000 Received: from d23relay05.au.ibm.com (d23relay05.au.ibm.com [202.81.31.247]) by e23smtp02.au.ibm.com (8.14.4/8.13.1) with ESMTP id o9SBjJQC018968 for ; Thu, 28 Oct 2010 22:45:19 +1100 Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay05.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o9SBnpPE2023596 for ; Thu, 28 Oct 2010 22:49:51 +1100 Received: from d23av04.au.ibm.com (loopback [127.0.0.1]) by d23av04.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o9SBnptv002894 for ; Thu, 28 Oct 2010 22:49:51 +1100 Message-ID: <4CC96358.1000108@linux.vnet.ibm.com> Date: Thu, 28 Oct 2010 17:19:44 +0530 From: gowrishankar MIME-Version: 1.0 References: <4CC8464F.80605@linux.vnet.ibm.com> In-Reply-To: Subject: Re: [LTP] Realtime tests on embedded target 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: Garrett Cooper Cc: ltp-list@lists.sourceforge.net, David Peverley On Wednesday 27 October 2010 09:34 PM, David Peverley wrote: > Hi Gowrishankar, > > I've just pulled down this version and it behaves the same for me?! > The build sequence I am performing is : > > $ cd ltp-full-20100630 > $ ./configure --build=i686-pc-linux --host=arm-none-linux-gnueabi > --prefix=/opt/ltp-20100630 > $ make all > $ mkdir ~/test-sysroot > $ make SKIP_IDCHECK=1 DESTDIR=~/test-sysroot install > $ find ~/test-sysroot | grep "testcases/realtime" > > Right, I too observed the same. Garrett, any idea on to turn installation of RT tests ? Thanks, Gowrishankar > This shows no files installed...?! If I take the cross compile out of > the equation and build natively : > $ make distclean > $ ./configure > $ make all > $ rm -rf ~/test-sysroot/* > $ make SKIP_IDCHECK=1 DESTDIR=~/test-sysroot install > $ find ~/test-sysroot | grep "testcases/realtime" > > This also behaves the same way! > > Looking at your output, I just realised that you don't run a "make > install" so I'm guessing that implies that you're not doing this and > are executing your tests directly from the source / build tree which > would explain the discrepancy? > > Also, on my second point, what are your thoughts on the fact that the > test-run scripts invoke make/gcc which is a problem for embedded > targets? > > Cheers, > > ~Pev > > > > On 27 October 2010 16:33, gowrishankar > wrote: > >> On Wednesday 27 October 2010 06:13 PM, David Peverley wrote: >> >>> Hi all, >>> >>> I've managed to get to the point where I should be able to run the >>> realtime tests on my target but there are a few issues : >>> >>> >>> >> Hi David, >> >> We have not encountered such issues in our environment. >> I usually do: >> ltp:> ./configure >> ltp:> make >> ltp:> cd testcases/realtime >> ltp:> make >> >> and run tests either through test_realtime.sh or run.sh in >> testcases/realtime/ . >> >> By the way, I am using last stable (atleast for RT) release >> ltp-full-20100630 . >> >> Can you please let us know which version you are trying atm. >> Also, can you please check ltp-full-20100630 ? >> >> Thanks, >> Gowrishankar >> >>> 1) The run script "testscripts/test_realtime.sh" sources >>> "$LTPROOT/testcases/realtime/scripts/setenv.sh" - this isn't copied by >>> make install. >>> >>> 2) After manually copying in, "setenv.sh" sets up paths to use test >>> definitions under "$LTPROOT/testcases/realtime/" - these aren't copied >>> by make install either. >>> >>> 3 ) Generally we now have a bit of a pain as various scripts now try >>> to invoke "make" - I think this should really only be a build-time >>> thing and not part of the test run scritps? Is this actually necessary >>> as most embedded targets aren't likely to have local make/gcc! I've >>> commented them out for now for initial testing... >>> >>> 4) After copying in the whole of "testcases/realtime" I run a >>> run_auto.sh script (sched_jitter/run_auto.sh) this fails as it's >>> looking for the executable in its working dir (I guess where the >>> scripts make pass would have put it). However, the previous build and >>> make install put all the executables in $LTPROOT/testcases/bin as >>> you'd expect. >>> >>> I'd be happy to address& submit changes but these are significant >>> changes to make so it would make sense to check with stake-holders >>> first if anyone's aware or looking at this actively? >>> >>> Cheers, >>> >>> ~Pev >>> >>> >>> ------------------------------------------------------------------------------ >>> Nokia and AT&T present the 2010 Calling All Innovators-North America >>> contest >>> Create new apps& games for the Nokia N8 for consumers in U.S. and Canada >>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in >>> marketing >>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >>> http://p.sf.net/sfu/nokia-dev2dev >>> _______________________________________________ >>> Ltp-list mailing list >>> Ltp-list@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/ltp-list >>> >>> >>> >> >> > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > Create new apps& games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > Ltp-list mailing list > Ltp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ltp-list > > ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list