Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Issue 545145: Move the layout test scripts into a 'webkitpy' subdirectory in preparation... (Closed)

Created:
10 years, 11 months ago by Dirk Pranke
Modified:
9 years, 7 months ago
Reviewers:
tkent, eseidel
CC:
chromium-reviews_googlegroups.com, darin (slow to review), pam+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Move the layout test scripts into a 'webkitpy' subdirectory in preparation for upstreaming them to WebKit/WebKitTools/Scripts/webkitpy . This also involves changing run_webkit_tests.py to run_chromium_webkit_tests.py to minimize confusion with the existing run-webkit-tests perl script upstream. There should be no user-visible impact as the existing shell and batch scripts have been updated for the new paths. BUG=none TEST=none R=eseidel@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=36739

Patch Set 1 #

Patch Set 2 : try to de-confuse svn and the try bots #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2027 lines, -12215 lines) Patch
D webkit/tools/layout_tests/dedup-tests.py View 1 1 chunk +0 lines, -49 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/apache_http_server.py View 1 1 chunk +0 lines, -203 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/failure.py View 1 1 chunk +0 lines, -200 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/failure_finder.py View 1 1 chunk +0 lines, -892 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/failure_finder_test.py View 1 1 chunk +0 lines, -374 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/html_generator.py View 1 1 chunk +0 lines, -230 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/http_server.bat View 1 1 chunk +0 lines, -1 line 0 comments Download
D webkit/tools/layout_tests/layout_package/http_server.py View 1 1 chunk +0 lines, -255 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/http_server.sh View 1 1 chunk +0 lines, -23 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/http_server_base.py View 1 1 chunk +0 lines, -42 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/json_layout_results_generator.py View 1 1 chunk +0 lines, -159 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/json_results_generator.py View 1 1 chunk +0 lines, -390 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/lighttpd.conf View 1 1 chunk +0 lines, -89 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/metered_stream.py View 1 1 chunk +0 lines, -72 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/path_utils.py View 1 1 chunk +0 lines, -372 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/platform_utils.py View 1 1 chunk +0 lines, -25 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/platform_utils_linux.py View 1 1 chunk +0 lines, -223 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/platform_utils_mac.py View 1 1 chunk +0 lines, -175 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/platform_utils_win.py View 1 1 chunk +0 lines, -184 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/test_expectations.py View 1 1 chunk +0 lines, -783 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/test_failures.py View 1 1 chunk +0 lines, -241 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/test_files.py View 1 1 chunk +0 lines, -71 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/test_shell_thread.py View 1 1 chunk +0 lines, -488 lines 0 comments Download
D webkit/tools/layout_tests/layout_package/websocket_server.py View 1 1 chunk +0 lines, -250 lines 0 comments Download
M webkit/tools/layout_tests/rebaseline.bat View 1 1 chunk +1 line, -1 line 0 comments Download
D webkit/tools/layout_tests/rebaseline.py View 1 1 chunk +0 lines, -1011 lines 0 comments Download
M webkit/tools/layout_tests/rebaseline.sh View 1 1 chunk +1 line, -1 line 0 comments Download
M webkit/tools/layout_tests/run_webkit_tests.bat View 1 1 chunk +1 line, -1 line 0 comments Download
D webkit/tools/layout_tests/run_webkit_tests.py View 1 1 chunk +0 lines, -1657 lines 0 comments Download
M webkit/tools/layout_tests/run_webkit_tests.sh View 1 1 chunk +1 line, -1 line 0 comments Download
M webkit/tools/layout_tests/test_output_formatter.bat View 1 1 chunk +1 line, -1 line 0 comments Download
D webkit/tools/layout_tests/test_output_formatter.py View 1 1 chunk +0 lines, -105 lines 0 comments Download
M webkit/tools/layout_tests/test_output_formatter.sh View 1 1 chunk +1 line, -1 line 0 comments Download
D webkit/tools/layout_tests/test_output_xml_to_json.py View 1 1 chunk +0 lines, -135 lines 0 comments Download
D webkit/tools/layout_tests/test_types/fuzzy_image_diff.py View 1 1 chunk +0 lines, -47 lines 0 comments Download
D webkit/tools/layout_tests/test_types/image_diff.py View 1 1 chunk +0 lines, -199 lines 0 comments Download
D webkit/tools/layout_tests/test_types/test_type_base.py View 1 1 chunk +0 lines, -241 lines 0 comments Download
D webkit/tools/layout_tests/test_types/text_diff.py View 1 1 chunk +0 lines, -96 lines 0 comments Download
D webkit/tools/layout_tests/update_expectations_from_dashboard.py View 1 1 chunk +0 lines, -476 lines 0 comments Download
D webkit/tools/layout_tests/update_expectations_from_dashboard_unittest.py View 1 1 chunk +0 lines, -353 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/dedup-tests.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/__init__.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/apache_http_server.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/failure.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/failure_finder.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/failure_finder_test.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/html_generator.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/http_server.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/http_server_base.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/json_layout_results_generator.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/json_results_generator.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/metered_stream.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/path_utils.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/platform_utils.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/platform_utils_linux.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/platform_utils_mac.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/platform_utils_win.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/test_expectations.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/test_failures.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/test_files.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/test_shell_thread.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/layout_package/websocket_server.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/rebaseline.py View 1 1 chunk +734 lines, -762 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/run_chromium_webkit_tests.py View 1 1 chunk +1318 lines, -1367 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/test_output_formatter.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/test_output_xml_to_json.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/test_types/__init__.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/test_types/fuzzy_image_diff.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/test_types/image_diff.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/test_types/test_type_base.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/test_types/text_diff.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/update_expectations_from_dashboard.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + webkit/tools/layout_tests/webkitpy/update_expectations_from_dashboard_unittest.py View 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Dirk Pranke
take a look and make sure this looks kosher. The try bots seem to be ...
10 years, 11 months ago (2010-01-21 04:03:12 UTC) #1
eseidel
I think all the executables would want to stay at the root level, no? like ...
10 years, 11 months ago (2010-01-21 04:13:36 UTC) #2
cjerdonek_webkit.org
Thanks for the forward, Eric. Just a couple high-level comments: I can't totally tell from ...
10 years, 11 months ago (2010-01-21 04:46:37 UTC) #3
tkent
I thought the change was ok. But It seems that build bots directly invoke webkit/tools/layout_tests/run_webkit_test.py ...
10 years, 11 months ago (2010-01-21 06:58:22 UTC) #4
cjerdonek_webkit.org
Thanks, Dirk. To help keep things organized, unless the top-level drivers rely extensively on existing ...
10 years, 11 months ago (2010-01-21 10:00:22 UTC) #5
eseidel
10 years, 11 months ago (2010-01-21 20:30:22 UTC) #6
Yeah, Adam and I plan to shove more of webkitpy down into directories
at some point.  webkpy used to just be bugzila-tool support files. :)
There has been a bit of a python explosion as of late.

On Thu, Jan 21, 2010 at 2:00 AM, Chris Jerdonek <cjerdonek@webkit.org> wrote:
> Thanks, Dirk.
>
> To help keep things organized, unless the top-level drivers rely
> extensively on existing code in webkitpy, I would encourage you to
> consider putting all of the python code into a subfolder of webkitpy.
> For example--
>
> webkitpy/
>    runlayout/ (or whatever you prefer)
>        layout/
>        test_types/
>        <top-level drivers>
>
> The reason is that webkitpy already contains ~35 python files, so the
> top-level drivers may get lost within an already long list -- hiding
> that they work together.
>
> The style package follows a similar model with an end-user executable
> in WebKitTools/Scripts/, and all of the supporting code in its own
> webkitpy subfolder called webkitpy/style.
>
> --Chris
>
>
> On Wed, Jan 20, 2010 at 11:07 PM, Dirk Pranke <dpranke@chromium.org> wrote:
>> The high-level executables are .bat and .sh scripts that wrap the
>> python scripts; they stay in webkit/tools/layout_tests (and will move
>> to WebKitTools/Scripts). *All* of the python code will move to
>> Scripts/webkitpy ; there are a few top-level drivers, and then most of
>> the code is in two subfolders (test_types and layout_package). You're
>> write that the layout_package name is redundant. I can change that
>> when I upload the webkit patch. I can also move the test_types dir
>> into the layout dir if we'd prefer that approach.
>>
>> All of the executables are end-user callable.
>>
>> -- Dirk
>>
>> On Wed, Jan 20, 2010 at 8:46 PM, Chris Jerdonek <cjerdonek@webkit.org> wrote:
>>> Thanks for the forward, Eric.
>>>
>>> Just a couple high-level comments:
>>>
>>> I can't totally tell from the patch how the supporting files (e.g. the
>>> non-executables) will sit inside webkit.py.  Can/will they all be in a
>>> single subfolder of webkitpy?  In terms of sub-folder naming,
>>> "*_package" is redundant, so a subfolder name like "layout/" is
>>> probably better than something like "layout_package".
>>>
>>> Finally, I don't know how many executables there are and what they are
>>> for, but if some of them are not meant to be called by the end-user
>>> (e.g. they are meant to be called internally by the end-user scripts),
>>> then it might be preferable to hide those away somewhere inside
>>> webkitpy as well.  Just a thought.
>>>
>>> Thanks,
>>> --Chris
>>>
>>>
>>> On Wed, Jan 20, 2010 at 8:13 PM, Eric Seidel <eseidel@chromium.org> wrote:
>>>> I think all the executables would want to stay at the root level, no?
>>>>
>>>> like rebaseline.py and run_chromium_webkit_tests.py?
>>>>
>>>> Also, the webkittens will probably want run- instead of run_ for all
>>>> these, but we can always change at a later date.
>>>>
>>>> looks OK to me.  Again, not sure you want to move the executables, but
>>>> otherwise OK.
>>>>
>>>> webkitpy is supposed to hide away all the python support junk.
>>>> everything directly inside WebKitTools/Scripts is executable.  There
>>>> are a few perl modules left there which are soon to be moved to
>>>> webkitperl.
>>>>
>>>> -eric
>>>>
>>>> On Wed, Jan 20, 2010 at 8:03 PM,  <dpranke@chromium.org> wrote:
>>>>> Reviewers: Eric Seidel (Google),
>>>>>
>>>>> Message:
>>>>> take a look and make sure this looks kosher. The try bots seem to be
getting
>>>
>>
>

Powered by Google App Engine
This is Rietveld 408576698