Hi Arun,

Ryosuke's suggestion is a good one; in addition, I believe there is a
group at Sony (?) that has done something similar, but their patches
haven't been upstreamed yet.

On Thu, Nov 8, 2012 at 3:39 AM, Arunprasad Rajkumar
<ararunpra...@gmail.com> wrote:
> Thanks Ryosuke.
>
> Are you guys running Tools/Scripts/new-run-webkit-tests script in Android
> device or it is been triggered from the host?
>

It runs on the host.

> Usually things are cross compiled right? How the build system & target
> system(where webkit runs) are interconnected?
>

Yes, things are compiled on the host. If you're developing
interactively, you just compile as normal, and then run
new-run-webkit-tests, which will either expect the binaries to have
been downloaded to the device, or download them itself. The script
contains all the hooks you need to implement whatever process you want
(it can even do a build to ensure things are up to date).

The major wrinkle you need to implement is to figure out some way for
the binary on the embedded driver to be able to access the test files
that live on the host. Usually either you can cross-mount a filesystem
or wrap file:// access urls in something like an http server that can
retrieve things.

In an automated system (like buildbot), the bot scripts run on the
host and just launch new-run-webkit-tests when appropriate.

-- Dirk

> On 8 November 2012 16:14, Ryosuke Niwa <rn...@webkit.org> wrote:
>>
>> You might be interested in looking into how Chromium Android port solve
>> this problem. See
>> Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py.
>>
>> On Thu, Nov 8, 2012 at 2:36 AM, Arunprasad Rajkumar
>> <ararunpra...@gmail.com> wrote:
>>>
>>>
>>> Hello Developers,
>>>
>>> I'm working on a embedded platform where I need to automate the Layout
>>> Tests. From the Tools/Scripts/new-run-webkit-tests &
>>> https://www.webkit.org/blog/1456/layout-tests-practice/ I understood like it
>>> requires python to run layout tests, since the web server & related things
>>> implemented in python. But the platform I'm working on is a resource
>>> constraint one & doesn't have these run-times(python,perl,..etc).
>>>
>>> Do you guys have any suggestions for my question? I'm thinking to use
>>> js-test-driver for some of the non webkit specific tests. Will the same
>>> thing can be used for WebKit Layout tests.
>>>
>>> Thanks in advance.
>>>
>>> Kind Regards,
>>> Arun.
>>> --
>>> Arunprasad Rajkumar
>>> http://in.linkedin.com/in/ararunprasad
>>>
>>>
>>> _______________________________________________
>>> webkit-help mailing list
>>> webkit-help@lists.webkit.org
>>> http://lists.webkit.org/mailman/listinfo/webkit-help
>>>
>>
>
>
>
> --
> Arunprasad Rajkumar
> http://in.linkedin.com/in/ararunprasad
>
>
> _______________________________________________
> webkit-help mailing list
> webkit-help@lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-help
>
_______________________________________________
webkit-help mailing list
webkit-help@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-help

Reply via email to