16 Commits

Author SHA1 Message Date
Maksymilian Osowski
4af7705631 Changed the behaviour of run_apache2.py restart.
Now it explicitly stops and starts the server and not just invokes apache2 -k restart

Change-Id: I74cfa9c3388552fcc56b62c5ab614262ca540d0b
2010-09-17 15:27:34 +01:00
Maksymilian Osowski
78fbc54c18 Changed run_layout_tests.py and run_apache2.py to accept alternative tests root dir.
Change-Id: I6d0537b6712ca6f68ec004e5e8bf95b97b9017fc
2010-09-17 12:18:56 +01:00
Maksymilian Osowski
2e36737669 Made the run_layout_tests.py script restart the apache2 server before it starts.
Change-Id: Ic6b4e63d20a95daddd3dfde32d4168b235d7dd91
2010-09-14 16:09:11 +01:00
Steve Block
d210fd26b2 Add to DumpRenderTree2 the option to suppress showing results in the host browser
Change-Id: I78841ab5fad4e3ee0d5fe559489bf8cfd81abd23
2010-09-14 14:24:59 +01:00
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
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
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
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
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
fe33f987cb Updated the script to include access log.
Change-Id: I3c97d60580040fa8e4bf63660091edb9c7a871fb
2010-08-26 15:25:02 +01:00
Steve Block
0e4d86fddf Fix naming and executable bits on DumpRenderTree2 scripts
Change-Id: Id1415e2a166289c8c585e132e842f5ca6ad35426
2010-08-18 15:50:46 +01:00
Maksymilian Osowski
073d2c9aa9 Added copyright information to the files that were missing it.
Change-Id: I3b814f2fbd96384189e702e723764d17cbbde5fe
2010-08-13 17:12:51 +01:00
Maksymilian Osowski
74b13aecbe Added python script that starts/stops apache2 server on host machine configured to handle http layout tests.
Change-Id: I7bf4390dfb4f9a580e6e4ca0eb25c85655df723c
2010-08-13 12:07:17 +01:00
Maksymilian Osowski
5fb9ff420d Added a basic version of python script and supporting code in DumpRenderTree.
Change-Id: Ic60ef9b89f74a3a36a4c31765f99c8de08dce911
2010-08-11 12:20:30 +01:00