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

Issue 2454323004: Make layout test harness extensible with custom layout tests directory (Closed)

Created:
4 years, 1 month ago by chenwilliam
Modified:
4 years, 1 month ago
Reviewers:
Dirk Pranke, pfeldman
CC:
chromium-reviews, qyearsley
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make layout test harness extensible with custom layout tests directory - Moves apache config for layout tests to within Tools/Scripts - This will make it easier to re-use for devtools tests. BUG=660477 Committed: https://crrev.com/98e38c15f03f244abf103caa9abd6da265cda794 Cr-Commit-Position: refs/heads/master@{#429973}

Patch Set 1 #

Patch Set 2 : move apache config to Tools/Scripts #

Total comments: 2

Patch Set 3 : add placeholder test and fix npm_test #

Patch Set 4 : Undo non test harness changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -2032 lines) Patch
D third_party/WebKit/LayoutTests/http/conf/apache2-httpd-2.2.conf View 1 1 chunk +0 lines, -153 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/conf/apache2-httpd-2.4.conf View 1 1 chunk +0 lines, -159 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/conf/arch-httpd-2.4.conf View 1 1 chunk +0 lines, -151 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/conf/cygwin-httpd.conf View 1 1 chunk +0 lines, -177 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/conf/debian-httpd-2.2.conf View 1 1 chunk +0 lines, -158 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/conf/debian-httpd-2.4.conf View 1 1 chunk +0 lines, -149 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/conf/mime.types View 1 1 chunk +0 lines, -601 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/conf/redhat-httpd-2.2.conf View 1 1 chunk +0 lines, -160 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/conf/redhat-httpd-2.4.conf View 1 1 chunk +0 lines, -153 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/conf/webkit-httpd.pem View 1 1 chunk +0 lines, -28 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/conf/win-httpd.conf View 1 1 chunk +0 lines, -145 lines 0 comments Download
A + third_party/WebKit/Tools/Scripts/apache_config/apache2-httpd-2.2.conf View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/Tools/Scripts/apache_config/apache2-httpd-2.4.conf View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/Tools/Scripts/apache_config/arch-httpd-2.4.conf View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/Tools/Scripts/apache_config/cygwin-httpd.conf View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/Tools/Scripts/apache_config/debian-httpd-2.2.conf View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/Tools/Scripts/apache_config/debian-httpd-2.4.conf View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/Tools/Scripts/apache_config/mime.types View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/Tools/Scripts/apache_config/redhat-httpd-2.2.conf View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/Tools/Scripts/apache_config/redhat-httpd-2.4.conf View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/Tools/Scripts/apache_config/webkit-httpd.pem View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/Tools/Scripts/apache_config/win-httpd.conf View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A third_party/WebKit/Tools/Scripts/run-inspector-tests View 1 chunk +15 lines, -0 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py View 1 2 3 3 chunks +7 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mac.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/port_testcase.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/test.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/win.py View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/win_unittest.py View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py View 1 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/apache_http.py View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
chenwilliam
Dirk - please take a look. I talked with Pavel about how to share this ...
4 years, 1 month ago (2016-10-28 21:31:34 UTC) #3
Dirk Pranke
Yup, this looks about like what I'd expect, and the strategy sounds right. I'd like ...
4 years, 1 month ago (2016-10-28 21:48:47 UTC) #4
chenwilliam
PTAL. I applied your suggestion Dirk to move the apache config for better reuse. I'm ...
4 years, 1 month ago (2016-10-31 22:56:00 UTC) #6
Dirk Pranke
lgtm w/ nit. https://codereview.chromium.org/2454323004/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py File third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py (right): https://codereview.chromium.org/2454323004/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py#newcode922 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py:922: return custom_layout_tests_dir You can change this ...
4 years, 1 month ago (2016-10-31 23:14:51 UTC) #7
chenwilliam
Thanks Dirk for reviewing. I added a response to your comment. Pavel - PTAL. https://codereview.chromium.org/2454323004/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py ...
4 years, 1 month ago (2016-11-01 18:28:35 UTC) #8
Dirk Pranke
On 2016/11/01 18:28:35, chenwilliam wrote: > Thanks Dirk for reviewing. I added a response to ...
4 years, 1 month ago (2016-11-01 19:04:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2454323004/80001
4 years, 1 month ago (2016-11-04 18:17:04 UTC) #13
chenwilliam
Per Pavel's suggestion, I've narrowed the scope of the CL to just the test harness ...
4 years, 1 month ago (2016-11-04 18:21:51 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 1 month ago (2016-11-04 19:25:31 UTC) #18
Dirk Pranke
(still lgtm).
4 years, 1 month ago (2016-11-04 19:29:37 UTC) #19
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 20:00:09 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/98e38c15f03f244abf103caa9abd6da265cda794
Cr-Commit-Position: refs/heads/master@{#429973}

Powered by Google App Engine
This is Rietveld 408576698