public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: gowrishankar <gowrishankar.m@linux.vnet.ibm.com>
To: Garrett Cooper <yanegomi@gmail.com>
Cc: ltp-list@lists.sourceforge.net, David Peverley <pev@sketchymonkey.com>
Subject: Re: [LTP] Realtime tests on embedded target
Date: Thu, 28 Oct 2010 17:19:44 +0530	[thread overview]
Message-ID: <4CC96358.1000108@linux.vnet.ibm.com> (raw)
In-Reply-To: <AANLkTikAcaMa0zZ_pfrW_W8H=VqhCvMge8wm+AFbpSEs@mail.gmail.com>

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
> <gowrishankar.m@linux.vnet.ibm.com>  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

  reply	other threads:[~2010-10-28 11:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-27 12:43 [LTP] Realtime tests on embedded target David Peverley
2010-10-27 12:47 ` Garrett Cooper
2010-10-27 15:33 ` gowrishankar
2010-10-27 16:04   ` David Peverley
2010-10-28 11:49     ` gowrishankar [this message]
2010-10-28 12:10       ` David Peverley
2010-10-28 12:26         ` David Peverley
2010-10-28 17:04       ` Garrett Cooper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CC96358.1000108@linux.vnet.ibm.com \
    --to=gowrishankar.m@linux.vnet.ibm.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=pev@sketchymonkey.com \
    --cc=yanegomi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox