1303 Commits

Author SHA1 Message Date
Steve Block
5c27bc1c64 When running DumpRenderTree2 from script, remove old results files
This makes sure that should we fail to get a new results file from
the device, we won't ever show an old results file to the user.

Change-Id: Ib00ae391a6b2b43a336370ef23af2d6c95589918
2010-09-13 16:00:42 +01:00
Steve Block
bdebd0621b Update DumpRenderTree2 to store results in /sdcard/layout-test-results
This more closely follows other WebKit platforms, which use
/tmp/layout-test-results.

Change-Id: Ice702b73d7425250d595e8321e14ff3becb66ed5
2010-09-13 15:55:13 +01:00
Steve Block
34c68912be Remove the last remnants in DumpRenderTree2 of the absolute path to the tests
This is no longer required.

Change-Id: I27db10e8c723162b319d9a714b086f508db706e0
2010-09-13 15:51:11 +01:00
Steve Block
7438b53487 Update DumpRenderTree2 text results output to better match HTML version
Always print number of crashes and line things up nicely.

Change-Id: I79a72056ba5ce007fdd4154f1518b9535b595317
2010-09-13 14:28:46 +01:00
Maksymilian Osowski
5af84db492 Updated the AdbUtils class to better manage opening and closing the resources.
Change-Id: I83ebc6409d57a28f9015ec9726f797417ec03212
2010-09-13 10:51:08 +01:00
Maksymilian Osowski
741fdc8088 Merge "Updated FsUtils to use apache HttpClient instead of java.net UrlConnection." 2010-09-13 02:49:09 -07:00
Maksymilian Osowski
ce2ef18c8f Updated FsUtils to use apache HttpClient instead of java.net UrlConnection.
It fixed sockets leaking during readDataFromUrl() invocations.

Change-Id: Ifb1aeb32fe9bb4ffa353cf521b5174a83de270db
2010-09-13 10:47:50 +01:00
Romain Guy
6d000d4eb7 Merge "Optimize calls to glCopyTexImage2D()." 2010-09-12 13:03:42 -07:00
Romain Guy
8694230ff2 Optimize calls to glCopyTexImage2D().
Change-Id: I34ee87bd4472864f440916e03a2894fae24bbe4a
2010-09-12 13:02:16 -07:00
Romain Guy
ae44d554b7 Merge "Correct implementation of saveLayer()." 2010-09-12 12:25:13 -07:00
Romain Guy
f607bdc167 Correct implementation of saveLayer().
Change-Id: I5375126636913e0a84f2d6bbd0ebe40d2e4f2763
2010-09-12 12:24:12 -07:00
Joe Onorato
9305647eb6 Plumb lights out mode through from the window manager to the status bar running in the system ui process.
Lights out mode itself isn't implemented.

Change-Id: Ieeef0eb9ae5be23000f770e74e8ee66472f4c673
2010-09-12 13:25:06 -04:00
Romain Guy
a5aed0d589 Add support for advanced blend modes with the framebuffer.
This adds the ability to blend with the framebuffer using Darken,
Lighten, Add, Multiply, Overlay and Screen.

Change-Id: Iae01a53797d4ad39c373cba6ff2a42293129da1a
2010-09-09 14:42:43 -07:00
Steve Block
aaa9675b5c Merge "Update DumpRenderTree2 to reflect removal of WEBKIT_MERGE_REVISION" 2010-09-08 03:20:13 -07:00
Guang Zhu
0ad6fdc029 Merge "temporarily skip simple-cross-origin-progress-events.html for now" 2010-09-07 21:00:32 -07:00
Guang Zhu
70795b3add temporarily skip simple-cross-origin-progress-events.html for now
this test crashes on Passion, and runs webcore into a bad state on
Stingray. To make sure it does not block the entire layout test
suite on Stingray, skipping this test for now.
http://b/2982500

Change-Id: Id4875112705df9b2c5b003a2c32c292765ab17fc
2010-09-07 20:58:24 -07:00
Romain Guy
53389bdcdf Correctly set the viewport on window resize.
Change-Id: Idec325264d85feda76d4cda00fa511aaac82cf64
2010-09-07 17:16:32 -07:00
Steve Block
0e2bae14b4 Update DumpRenderTree2 to reflect removal of WEBKIT_MERGE_REVISION
We now use ThirdPartyProject.prop
See https://android-git.corp.google.com/g/#change,64831

Change-Id: Ib52fdd93ac08fb19ec8b7f539eb084c0b668e01b
2010-09-07 22:05:21 +01:00
Maksymilian Osowski
da17e9db63 Merge "Fixed the bug in forwarder that prevented ConnectionHandler threads from exiting." 2010-09-06 04:25:15 -07:00
Maksymilian Osowski
bd8c83db8f Fixed the bug in forwarder that prevented ConnectionHandler threads from exiting.
There was a deadlock when ConnectionHandler exited the loop in SocketPipeThread, and would call the onFinishedCallback, which called the synchronized method in Forwarder that would
deadlock. Changing the Forwarder class solved the issue and made it more efficient.

Change-Id: I947450a19573f2e88274b1ebc7b77d4df6afffa7
2010-09-06 12:24:26 +01:00
Maksymilian Osowski
5846d4561d Fixed the run_apache2.py script to use the correct mime.types file.
Change-Id: I0bd5870259b3f7de92d4996d1ebb83fdff126210
2010-09-03 17:03:33 +01:00
Maksymilian Osowski
fddedbf999 Merge "Updated Summarizer to parse CRASH instead of SKIP." 2010-09-02 09:33:08 -07:00
Maksymilian Osowski
2ca8acdb56 Adds webkit revision to the summary and details.
The revision number is taken from external/webkit/WEBKIT_MERGE_REVISION and is served to the java code by apache server. To be able to do that, the new alias directive had to be
added to the run_apache2.py script.

Bug: 2889572
Change-Id: Ie3d147e4d8ea9edd0144b819152121563b8bd759
2010-09-02 17:27:35 +01:00
Maksymilian Osowski
01c1f9d9e9 The results now show which expected result was used.
Bug: 2889857
Change-Id: If2b7e6e6a22ddb5db6c6a50a358e8f263914e6c0
2010-09-02 17:18:48 +01:00
Maksymilian Osowski
5f21f5a4a9 Updated Summarizer to parse CRASH instead of SKIP.
Bug: 2970575
Change-Id: Idc8b514f4878bcd62729a47d7fe681ade114497a
2010-09-02 17:17:06 +01:00
Maksymilian Osowski
cbba4ae260 Merge "Shows the details when all the tests finish and fixes the orientation issue." 2010-09-02 06:57:50 -07:00
Maksymilian Osowski
84daaf8b41 Merge "Fixed and slightly improved crash detection mechanism." 2010-09-02 06:55:13 -07:00
Maksymilian Osowski
1b034781f4 Shows the details when all the tests finish and fixes the orientation issue.
The tests no longer restart when orientation changes.

Bug: 2904456
Change-Id: Ie1ee463dbd63fb1a2ad2e9c28bf5989002f22215
2010-09-02 14:49:04 +01:00
Maksymilian Osowski
bcf114c2bb Fixed and slightly improved crash detection mechanism.
Before, if a crash was detected, but the "Force quit" dialog remained on the screen, sending the intent to restart the executor would do nothing. It's fixed now with default
uncaught exception handler. Also, when we catch the uncaught exception, we can restart the executor straight away, without waiting for the time-out.

Change-Id: I2f0b4b5f2abd180ff518f1a40ad1294bed2f7f67
2010-09-02 13:39:11 +01:00
Maksymilian Osowski
f072bced91 Merge "Updated Summarizer to report tests under all 4 possible categories now." 2010-09-02 04:55:24 -07:00
Maksymilian Osowski
6ae5ce4b40 Updated Summarizer to report tests under all 4 possible categories now.
Categories: ((un)expected passes/failures).
Also, FileFilter uses FAIL instead of IGNORE_RESULTS now.

Bug: 2899965
Change-Id: I06835b3d5cea84cbc92225a940bf7361cf832f59
2010-09-02 12:53:26 +01:00
Maksymilian Osowski
15116bcc76 Merge "Fixed a bug when there are too many open sockets." 2010-09-02 03:36:57 -07:00
Maksymilian Osowski
5926723f82 Fixed a bug when there are too many open sockets.
Also, some minor corrections to shutdown() in ConnectionHandler.

Change-Id: I937f200c14c185b0867f997645d8b288a19b9889
2010-09-02 11:34:03 +01:00
Maksymilian Osowski
ff314d7094 Added "run all tests in the current directory" menu option.
Bug: 2906954
Change-Id: Ib68219dc4d4d517ad859679bc8d52a02b0b631f4
2010-09-02 10:25:45 +01:00
Maksymilian Osowski
9c12bd3932 Merge "Updated the Summarizer to link to the source of the tests." 2010-09-01 04:34:46 -07:00
Maksymilian Osowski
603b70dd8b Updated the Summarizer to link to the source of the tests.
Change-Id: I90018898c627b99f5a49c301e87593b52cd18ce4
Bug-Id: 2889573
2010-09-01 12:31:33 +01:00
Maksymilian Osowski
ef9a2175ee Fixed a bug in forwarder where calling the stop method on ForwarderManager would deadlock. Also some style fixes.
The call would deadlock because lines 62-67 in ConnectionHandler were in the synchronized block. The is.read() would block and therefore call to shutdown() would block too.
is.read()
would never unblock because the stream was ready to be closed, and it needs to be done so from shutdown(). Removing the synchronized block fixes it and is save, as it was not
needed here.

Change-Id: I3326098c47ee18c4eabaa8510b27ca82debce360
2010-09-01 12:18:13 +01:00
Maksymilian Osowski
c6f7413973 Merge "Changed the code to use forwarding service." 2010-09-01 04:01:00 -07:00
Maksymilian Osowski
c6a341d34c Changed the code to use forwarding service.
Change-Id: I2504ef01270f9c8e82acbe6a4069d2b4b77b35f2
2010-09-01 11:59:16 +01:00
Daniel Sandler
44af754cf0 am d02bdaab: Remove experimental immersive mode support. DO NOT MERGE
Merge commit 'd02bdaab495641ab50e2123fdfd99a819cc40540' into gingerbread-plus-aosp

* commit 'd02bdaab495641ab50e2123fdfd99a819cc40540':
  Remove experimental immersive mode support. DO NOT MERGE
2010-08-27 20:00:29 -07:00
Daniel Sandler
d02bdaab49 Remove experimental immersive mode support. DO NOT MERGE
Bug: 2949215

Change-Id: I7d998ef571ef7e149bb96261430e92150b80b77d
2010-08-27 22:57:39 -04:00
Romain Guy
4299c0f242 Add test for gamma correction.
Change-Id: Id2a311bc116438d3627a943cb5fb1ba8dc121bb0
2010-08-27 16:56:50 -07:00
Guang Zhu
ba4da86add am fe8eaf3b: am 1c045003: Merge "add mouse up/down/click support in DumpRenderTree" into gingerbread
Merge commit 'fe8eaf3b5dc52cecaf15ccabe9a8717cce701f6c'

* commit 'fe8eaf3b5dc52cecaf15ccabe9a8717cce701f6c':
  add mouse up/down/click support in DumpRenderTree
2010-08-26 13:15:29 -07:00
Guang Zhu
fe8eaf3b5d am 1c045003: Merge "add mouse up/down/click support in DumpRenderTree" into gingerbread
Merge commit '1c045003788725b40af5489149ac0fc8bfebb1ea' into gingerbread-plus-aosp

* commit '1c045003788725b40af5489149ac0fc8bfebb1ea':
  add mouse up/down/click support in DumpRenderTree
2010-08-26 10:52:27 -07:00
Maksymilian Osowski
6db53149ca Merge "Tweaked the logging + some minor style fixes." 2010-08-26 09:12:09 -07:00
Steve Block
9d660cb5f3 Update run_apach2.py to serve HTTP tests at server root
The complete set of layout tests is still available at /LayoutTests
and scripts at /WebKitTools/DumpRenderTree/android.

Note that this requires a corresponding change to
external/webkit/WebKitTools/DumpRenderTree/android/get_layout_tests_dir_contents.php

Bug: 2951727
Change-Id: Idf366942ffd5786759c989e992359b7e7dbb182c
2010-08-26 16:57:17 +01:00
Steve Block
ee273fac7f Use locals to make run_apache2.py more readable
Also fixes style

Change-Id: I8045b7deb5badfed7758be459d05c58d0ff2e390
2010-08-26 16:56:44 +01:00
Maksymilian Osowski
2e5982a55a Tweaked the logging + some minor style fixes.
Change-Id: If89fe8ab1845780ecf23c5fd339a4932ebec9c0c
2010-08-26 16:48:41 +01:00
Maksymilian Osowski
da9f91a107 Merge "Updated the script to include access log." 2010-08-26 08:01:58 -07:00
Maksymilian Osowski
fe33f987cb Updated the script to include access log.
Change-Id: I3c97d60580040fa8e4bf63660091edb9c7a871fb
2010-08-26 15:25:02 +01:00