On Thu, Oct 28, 2010 at 4:49 AM, gowrishankar
<[email protected]> wrote:
> 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 ?

    I'm going to keep the existing hierarchy under
testcases/realtime/... for consistency and because I don't want to
rewrite a bunch of test scripts to live nicely under testcases/bin/...
    I'll work on this in the next couple of days; completing this task
will be trivial.
Thanks!
-Garrett

>> 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
>> <[email protected]>  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
>>>> [email protected]
>>>> 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
>> [email protected]
>> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to