Bug 56738

Summary: [Qt] Script to run single layouttest on Symbian
Product: WebKit Reporter: Janne Koskinen <koshuin>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Enhancement CC: benjamin, laszlo.gombos, ossy, qi.2.zhang
Priority: P5 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: S60 Hardware   
OS: S60 3rd edition   
Attachments:
Description Flags
testrunner script
none
2nd version
none
3rd version none

Janne Koskinen
Reported 2011-03-21 05:20:07 PDT
Created attachment 86308 [details] testrunner script Small Python script that allows you to run single layouttest on Symbian device using runonphone. Posting early version for comments while waiting for Bug 56323 to be finished. This script is not meant to be expanded into full layoutest run environment. AFAIK That is being worked on and will come later. This is a quick hack for developing testcases and testing out bugfixes.
Attachments
testrunner script (2.74 KB, patch)
2011-03-21 05:20 PDT, Janne Koskinen
no flags
2nd version (2.81 KB, patch)
2011-03-21 05:38 PDT, Janne Koskinen
no flags
3rd version (3.01 KB, patch)
2011-03-21 06:05 PDT, Janne Koskinen
no flags
Janne Koskinen
Comment 1 2011-03-21 05:38:30 PDT
Created attachment 86309 [details] 2nd version Second version with correct test target. You need to install OpenC stdioserver to the device to get this working until the linked bug is fixed.
Janne Koskinen
Comment 2 2011-03-21 06:05:50 PDT
Created attachment 86311 [details] 3rd version 3rd version prints out test results if available.
Benjamin Poulain
Comment 3 2011-03-21 07:21:08 PDT
I this meant to go in trunk? Sound like run-webkit-test should be ultimately be hacked to handle Symbian. Just asking to know it this task should stay open.
Janne Koskinen
Comment 4 2011-03-21 07:42:59 PDT
(In reply to comment #3) > I this meant to go in trunk? Sound like run-webkit-test should be ultimately be hacked to handle Symbian. > Ultimately has been the goal for past 2 years :S > Just asking to know it this task should stay open. Wish it was that easy. I had a hacked version of run-webkit-tests for both the old Perl and Python script at some point. Symbian sis installer just won't work with those data sizes and there is all kinds of issues to go with. I know Laszlo has a working version of run-webkit-tests running on Symbian in it self using PyS60, but that takes around 3 days to complete. My idea for the actual run-webkit-tests is to create a distributed mechanism to run it over multiple phones. Phones would be slaved over WLAN to the Python master which it kinda supports already. USB ain't good solution as we need a hub of tens of phones to make it useful as build bot tester. Tools would need to be reconfigured to handle multiple COM channels, plenty of power to USB with additional hubs etc. Thats why I made this lightweight script to separate it from much larger task which will be modifying run-webkit-tests to be used with Symbian. If you think this is script is not useful in trunk then just kill the task. I put it up here if someone else wants to use it. This far there haven't been that many people who actually have ran layout tests on Symbian.
Benjamin Poulain
Comment 5 2011-03-21 13:33:26 PDT
That is not what I meant :) I have no doubt this is useful. I was just wondering if this should go on trunk or if this is a tool aside.
Laszlo Gombos
Comment 6 2012-01-14 17:30:22 PST
Note You need to log in before you can comment on or make changes to this bug.