yes, most of the test case should be properly cross compiled if your setup
all env vars properly. E.g. CC, CHOST, CBUILD and CTARGET.

See configure method on client/common_lib/utils.py.


On Wed, Aug 25, 2010 at 7:16 AM, Ajeet Yadav <[email protected]>wrote:

> Thanks Lucas.
>
> There are two things:
> 1. Should I use autotest-xxx or autotest-client-xxx, currently I am trying
> to use autotest-client-xxx.
> autotest-client does everyting (i.e download -> build -> run -> log result)
> on target itself since we do not have a ARM toolchain that execute on ARM
> target itself, we are modifying the control files so that we can build test
> jobs in X86 host using ARM toolchain and copy them to ARM target only to run
> and log result.
>
There is a nice feather named test prebuild which should meet your needs.

1. Proper setup ARM toolchain env vars.
2. add enable_server_prebuild=True to the AUTOSERV section of your
global_config.ini
3.run server/autoserv as usual.

The client tests should be precompiled at server side before packaged and
send to the client hardware.

Please let me know how you go through this, it would be very interest to
hear some one used it out side of our build env.

Thanks.


  I guess autotest-xxx does this automatically i.e download + build on
> host.......and run + log result on target. If my gut feeling is correct then
> I should move to autotest-xxx.
>
> 2. Currently autotest-xxx support only x86, powerpc are there any available
> patches to use autotest on ARM.
>
> With Regards
> Ajeet Yadav
>
> On Wed, Aug 25, 2010 at 6:54 PM, Lucas Meneghel Rodrigues 
> <[email protected]>wrote:
>
>>  On Wed, 2010-08-25 at 16:24 +0530, Ajeet Yadav wrote:
>> > Hi,
>> > I wish to run autotest on ARM target should I use
>> > autotest-client-0.12.0 or autotest-0.12.0 ( i.e standalone or
>> > client-server model)
>> > I am looking for the way where I can cross build most autotest
>> > autotest dependecies like python, test tools on x86 host and than run
>> > them on ARM client.
>>
>> I believe the Chrome OS folks have been working on this. I do remember
>> Eric Li sent several patches that should enable that. Copying him on
>> this message.
>>
>> Eric, would you provide Ajeet some assistance?
>>
>> > With Regards,
>> > Ajeet Yadav
>> > _______________________________________________
>> > Autotest mailing list
>> > [email protected]
>> > http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
>>
>>
>>
>


-- 
Eric Li
李咏竹
Google Kirkland
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to