New issue
Advanced search Search tips

Issue 710535 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Task

Blocking:
issue 622551



Sign in to add a comment

Simplify path resolution in blinkpy.

Project Member Reported by qyears...@chromium.org, Apr 11 2017

Issue description

Currently in the webkitpy codebase, there are various places where paths are hard-coded, including paths to the layout tests directory.

In order to make it simpler to change paths (for bug 622551) we can do some preliminary work avoid repeated hard-coding of paths.

Examples of some occurrences of the literal "LayoutTests":

webkitpy/style/checker.py:    'LayoutTests' + os.path.sep,
webkitpy/common/checkout/baseline_optimizer.py:    ROOT_LAYOUT_TESTS_DIRECTORY = 'LayoutTests'
webkitpy/common/host_mock.py:        external_dir = webkit_finder.path_from_webkit_base('LayoutTests', 'external')
webkitpy/layout_tests/controllers/layout_test_finder.py:        self.LAYOUT_TESTS_DIRECTORIES = ('src', 'third_party', 'WebKit', 'LayoutTests')
webkitpy/layout_tests/controllers/manager.py:        self.LAYOUT_TESTS_DIRECTORY = 'LayoutTests'
webkitpy/layout_tests/controllers/manager.py:        base_dir = self._port.path_from_webkit_base('LayoutTests', 'fast', 'harness')
webkitpy/layout_tests/port/base.py:            assert self._filesystem.exists(path_to_virtual_test_suites), 'LayoutTests/VirtualTestSuites not found'
webkitpy/layout_tests/port/test.py:LAYOUT_TEST_DIR = '/test.checkout/LayoutTests'
webkitpy/layout_tests/port/android.py:DEVICE_LAYOUT_TESTS_DIR = DEVICE_WEBKIT_BASE_DIR + 'LayoutTests/'
webkitpy/layout_tests/port/driver.py:        "file:///src/LayoutTests/fast/html/keygen.html" it would return
webkitpy/layout_tests/lint_test_expectations.py:            failure = 'LayoutTests/%s/README.txt is missing (each virtual suite must have one).' % suite.name
webkitpy/layout_tests/models/test_expectations.py:            # the LayoutTests directory
webkitpy/w3c/chromium_commit.py:CHROMIUM_WPT_DIR = 'third_party/WebKit/LayoutTests/external/wpt/'
webkitpy/w3c/test_copier.py:        self.layout_tests_dir = self.webkit_finder.path_from_webkit_base('LayoutTests')
webkitpy/w3c/test_copier.py:        w3c_import_expectations_path = self.webkit_finder.path_from_webkit_base('LayoutTests', 'W3CImportExpectations')
webkitpy/w3c/directory_owners_extractor.py:        input_path = self.finder.path_from_webkit_base('LayoutTests', 'W3CImportExpectations')
webkitpy/w3c/test_importer.py:            source = self.path_from_webkit_base('LayoutTests', 'external', WPT_DEST_NAME, wpt_subdir, filename)
webkitpy/w3c/test_importer.py:            destination = self.path_from_webkit_base('LayoutTests', 'resources', filename)
webkitpy/w3c/test_importer.py:        dest_path = self.path_from_webkit_base('LayoutTests', 'external', dest_dir_name)
webkitpy/w3c/wpt_manifest.py:        manifest_path = finder.path_from_webkit_base('LayoutTests', 'external', 'wpt', 'MANIFEST.json')
webkitpy/w3c/wpt_manifest.py:        base_manifest_path = finder.path_from_webkit_base('LayoutTests', 'external', 'WPT_BASE_MANIFEST.json')
webkitpy/w3c/wpt_manifest.py:        wpt_path = manifest_path = finder.path_from_webkit_base('LayoutTests', 'external', 'wpt')
webkitpy/w3c/common.py:CHROMIUM_WPT_DIR = 'third_party/WebKit/LayoutTests/external/wpt/'
webkitpy/w3c/chromium_finder.py:    return finder.path_from_webkit_base('LayoutTests', 'external', 'wpt')
webkitpy/tool/commands/queries.py:                    file = file.replace(layout_tests_dir, 'LayoutTests')
webkitpy/tool/commands/rebaseline.py:        baseline_re = re.compile(r'.*[\\/]LayoutTests[\\/].*-expected\.(txt|png|wav)$')
webkitpy/tool/commands/rebaseline_cl.py:            test_base = 'third_party/WebKit/LayoutTests/'


Related work:
 - Rename webkit_finder to something like path_finder
 - Add support in the path finder module to support paths both pre- and post- blink move (e.g. if the root is "//web", then the layout tests directory is "//web/page_tests", both otherwise it's "//third_party/WebKit/LayoutTests".
 
Project Member

Comment 1 by bugdroid1@chromium.org, Apr 20 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/81b0fe590c56963e2665bec40cc6adf0718537a6

commit 81b0fe590c56963e2665bec40cc6adf0718537a6
Author: tkent <tkent@chromium.org>
Date: Thu Apr 20 23:54:10 2017

webkitpy: Reduce usage of path_from_webkit_base().

We'd like to make webkitpy robust against directory structure changes.

BUG=710535

Review-Url: https://codereview.chromium.org/2831883002
Cr-Commit-Position: refs/heads/master@{#466192}

[modify] https://crrev.com/81b0fe590c56963e2665bec40cc6adf0718537a6/third_party/WebKit/Tools/Scripts/webkitpy/common/host_mock.py
[modify] https://crrev.com/81b0fe590c56963e2665bec40cc6adf0718537a6/third_party/WebKit/Tools/Scripts/webkitpy/common/webkit_finder.py
[modify] https://crrev.com/81b0fe590c56963e2665bec40cc6adf0718537a6/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/bisect_test_ordering.py
[modify] https://crrev.com/81b0fe590c56963e2665bec40cc6adf0718537a6/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py
[modify] https://crrev.com/81b0fe590c56963e2665bec40cc6adf0718537a6/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py
[modify] https://crrev.com/81b0fe590c56963e2665bec40cc6adf0718537a6/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py
[modify] https://crrev.com/81b0fe590c56963e2665bec40cc6adf0718537a6/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/pywebsocket.py
[modify] https://crrev.com/81b0fe590c56963e2665bec40cc6adf0718537a6/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/wptserve.py
[modify] https://crrev.com/81b0fe590c56963e2665bec40cc6adf0718537a6/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/python.py
[modify] https://crrev.com/81b0fe590c56963e2665bec40cc6adf0718537a6/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/layout_tests_server.py
[modify] https://crrev.com/81b0fe590c56963e2665bec40cc6adf0718537a6/third_party/WebKit/Tools/Scripts/webkitpy/w3c/chromium_finder.py
[modify] https://crrev.com/81b0fe590c56963e2665bec40cc6adf0718537a6/third_party/WebKit/Tools/Scripts/webkitpy/w3c/directory_owners_extractor.py
[modify] https://crrev.com/81b0fe590c56963e2665bec40cc6adf0718537a6/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_copier.py
[modify] https://crrev.com/81b0fe590c56963e2665bec40cc6adf0718537a6/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_importer.py
[modify] https://crrev.com/81b0fe590c56963e2665bec40cc6adf0718537a6/third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_manifest.py

Project Member

Comment 2 by bugdroid1@chromium.org, Apr 28 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5c25a63a509bfb5b927b11550e42489161f7dd04

commit 5c25a63a509bfb5b927b11550e42489161f7dd04
Author: tkent <tkent@chromium.org>
Date: Fri Apr 28 01:57:48 2017

webkitpy: Change paths in lint-test-expectations messages

In order to void path_from_webkit_base() in test_expectations.py, this CL change
it to path_from_chromium_base(). lint-expectations messages will be changed from:

LayoutTests/TestExpectations:3320 Duplicate or ambiguous entry lines LayoutTests/TestExpectations:3319 and LayoutTests/TestExpectations:3320. external/wpt/css/css-display-3/display-contents-computed-style.html

to

third_party/WebKit/LayoutTests/TestExpectations:3320 Duplicate or ambiguous entry lines third_party/WebKit/LayoutTests/TestExpectations:3319 and third_party/WebKit/LayoutTests/TestExpectations:3320. external/wpt/css/css-display-3/display-contents-computed-style.html

BUG=710535

Review-Url: https://codereview.chromium.org/2850433002
Cr-Commit-Position: refs/heads/master@{#467824}

[modify] https://crrev.com/5c25a63a509bfb5b927b11550e42489161f7dd04/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py
[modify] https://crrev.com/5c25a63a509bfb5b927b11550e42489161f7dd04/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py

Project Member

Comment 3 by bugdroid1@chromium.org, Apr 28 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5c989879d70ea7b5c484175ad70315e32f505b44

commit 5c989879d70ea7b5c484175ad70315e32f505b44
Author: tkent <tkent@chromium.org>
Date: Fri Apr 28 02:00:47 2017

wpt-import: Work on third_party/WebKit/LayoutTests instead of third_party/WebKit.

To reduce path_from_webkit_base() usage.

- Remove rmtree()
  Only one callsite, and it called this function with an absolute path.

- Remove relative path resolution in remove()
  There are two callsites, and only one of them passed relative paths.

This CL should have no functional changes.

BUG=710535

Review-Url: https://codereview.chromium.org/2842393003
Cr-Commit-Position: refs/heads/master@{#467828}

[modify] https://crrev.com/5c989879d70ea7b5c484175ad70315e32f505b44/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_importer.py
[modify] https://crrev.com/5c989879d70ea7b5c484175ad70315e32f505b44/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_importer_unittest.py

Project Member

Comment 6 by bugdroid1@chromium.org, May 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9b549cec866068f02af088ed0eec0efea26cb150

commit 9b549cec866068f02af088ed0eec0efea26cb150
Author: tkent <tkent@chromium.org>
Date: Mon May 01 00:31:08 2017

wpt-import: Fix a failure on "git add"

This CL fixes a regression since r467828. It changed the working directory, but
it missed to update relative path in "git add" argument.

BUG=710535
TBR=jeffcarp@chromium.org
NOTRY=true

Review-Url: https://codereview.chromium.org/2848183002
Cr-Commit-Position: refs/heads/master@{#468264}

[modify] https://crrev.com/9b549cec866068f02af088ed0eec0efea26cb150/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_importer.py

Project Member

Comment 7 by bugdroid1@chromium.org, May 8 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3a0342b256ebc20b201f435f10dc61105c7515df

commit 3a0342b256ebc20b201f435f10dc61105c7515df
Author: Kent Tamura <tkent@chromium.org>
Date: Mon May 08 06:54:56 2017

webkitpy: generate_manifest() doesn't need a specific cwd.

All paths for the manifest command and arguments are absolute. We don't need to
care about current working directory.

BUG=710535

Change-Id: I10398075abf42c31f78d07bb5a87b6055a5e51a4
Reviewed-on: https://chromium-review.googlesource.com/491146
Reviewed-by: Jeff Carpenter <jeffcarp@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#469910}
[modify] https://crrev.com/3a0342b256ebc20b201f435f10dc61105c7515df/third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_manifest.py

Project Member

Comment 8 by bugdroid1@chromium.org, May 8 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8e987fe4730ac5991bb5091c449f7e0db81b60ea

commit 8e987fe4730ac5991bb5091c449f7e0db81b60ea
Author: tkent <tkent@chromium.org>
Date: Mon May 08 09:05:08 2017

webkitpy: Avoid to use webkit_base() and literal 'LayoutTests' in BaselineOptimizer

BaselineOptimizer handles paths relative to webkit_base, and it's not easy to
update it for paths relative to LayoutTests. So, this CL just replaces
 - webkit_base with the parent of layout_tests_dir
 - ROOT_LAYOUT_TESTS_DIRECTORY with a relative path of layout_tests_dir

BUG=710535

Review-Url: https://codereview.chromium.org/2853733003
Cr-Commit-Position: refs/heads/master@{#469930}

[modify] https://crrev.com/8e987fe4730ac5991bb5091c449f7e0db81b60ea/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/baseline_optimizer.py
[modify] https://crrev.com/8e987fe4730ac5991bb5091c449f7e0db81b60ea/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/baseline_optimizer_unittest.py

Project Member

Comment 10 by bugdroid1@chromium.org, May 11 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/031529c704a5b30efa31a7d7dfc039c6e666bad8

commit 031529c704a5b30efa31a7d7dfc039c6e666bad8
Author: tkent <tkent@chromium.org>
Date: Thu May 11 23:06:26 2017

webkitpy: Memoize chromium_base() and depot_tools_base().

It makes the code simpler.

BUG=710535

Review-Url: https://codereview.chromium.org/2865403006
Cr-Commit-Position: refs/heads/master@{#471108}

[modify] https://crrev.com/031529c704a5b30efa31a7d7dfc039c6e666bad8/third_party/WebKit/Tools/Scripts/webkitpy/common/webkit_finder.py

Project Member

Comment 11 by bugdroid1@chromium.org, May 14 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/fc3bf0e63c552b01af736044b48f3a44a3e5b8be

commit fc3bf0e63c552b01af736044b48f3a44a3e5b8be
Author: tkent <tkent@chromium.org>
Date: Sun May 14 22:31:30 2017

webkitpy: Rename WebKitFinder to PathFinder

BUG=710535

Review-Url: https://codereview.chromium.org/2878873002
Cr-Commit-Position: refs/heads/master@{#471640}

[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/run-bindings-tests
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/test-webkitpy
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/bindings/bindings_tests.py
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/baseline_optimizer_unittest.py
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/common/host_mock.py
[rename] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/common/path_finder.py
[rename] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/common/path_finder_unittest.py
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/bisect_test_ordering.py
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/breakpad/dump_reader_multipart.py
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/factory.py
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/factory_unittest.py
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/pywebsocket.py
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/wptserve.py
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/python.py
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/layout_tests_server.py
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/w3c/chromium_finder.py
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/w3c/common.py
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/w3c/directory_owners_extractor.py
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_copier.py
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_importer.py
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_expectations_updater.py
[modify] https://crrev.com/fc3bf0e63c552b01af736044b48f3a44a3e5b8be/third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_manifest.py

Project Member

Comment 12 by bugdroid1@chromium.org, Jul 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8d7c003b6c6397554cfec5979d407bcf88075153

commit 8d7c003b6c6397554cfec5979d407bcf88075153
Author: Quinten Yearsley <qyearsley@google.com>
Date: Tue Jul 18 15:38:29 2017

Expand the unit tests for PathFinder in webkitpy

Bug: 710535
Change-Id: I6ce8350af1f1bad0ef1577b67b927381f1c4842f
Reviewed-on: https://chromium-review.googlesource.com/575031
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487482}
[modify] https://crrev.com/8d7c003b6c6397554cfec5979d407bcf88075153/third_party/WebKit/Tools/Scripts/webkitpy/common/path_finder.py
[modify] https://crrev.com/8d7c003b6c6397554cfec5979d407bcf88075153/third_party/WebKit/Tools/Scripts/webkitpy/common/path_finder_unittest.py

Project Member

Comment 13 by bugdroid1@chromium.org, Sep 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7091cb10674342bbd0cd61aa1638e1f6f11bf45f

commit 7091cb10674342bbd0cd61aa1638e1f6f11bf45f
Author: Kent Tamura <tkent@chromium.org>
Date: Thu Sep 21 02:26:43 2017

webkitpy: The Great Blink mv should change path_finder behavior.

Bug:  578345 , 710535
Change-Id: Ibac665d97e7fa51296960ab1a73d35f239c9ddda
Reviewed-on: https://chromium-review.googlesource.com/675083
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#503313}
[modify] https://crrev.com/7091cb10674342bbd0cd61aa1638e1f6f11bf45f/third_party/WebKit/Tools/Scripts/webkitpy/common/path_finder.py

qyearsley@, should this be assigned to someone?

(Doing Blink>Infra triage of P2 issues older than 60 days.)
Labels: -Pri-2 Pri-3
No need to be assigned to anyone right now.

This issue is good to do (but not absolutely essential to do) before bug 622551, which is P3.

There are still lots of occurrences of the literal "LayoutTests", and not all of them necessarily need to be changed before the Blink move.
Project Member

Comment 16 by bugdroid1@chromium.org, Oct 9

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8dffeee4decc82b6b29e3213d4c415eb9c911da9

commit 8dffeee4decc82b6b29e3213d4c415eb9c911da9
Author: Kent Tamura <tkent@chromium.org>
Date: Tue Oct 09 04:29:38 2018

blinkpy and content_shell: Supports third_party/blink/web_tests

This CL adds third_party/blink/web_tests support to blinkpy and
content_shell.  If the path exists, they assume Web Test files are
in the directory.  Otherwise, Web Test files are in WebKit/LayoutTests
as ever.

We'll land a CL to move files from WebKit/LayoutTests to
blink/web_tests, then remove !TESTS_IN_BLINK code path.

* blinkpy:
  path_finder.py provides TESTS_IN_BLINK flag, RELATIVE_WEB_TESTS, and
  WEB_TESTS_LAST_COMPONENTS. They return values for "third_party/blink/
  web_tests" if the path actually exists.
  Other blinkpy code supports both of web_tests and LayoutTests by
  using these new values provided by path_finder.py.
  web_tests/port/base.py passs '--tests-in-blink' flag to content_shell
  if TESTS_IN_BLINK flags is true.

* content/shell:
  Add "--tests-in-blink" flag. It affects relative path resolution in
  command-line, and resolution for file:///tmp/LayoutTests/ URLs in
  tests.

Bug: 710535,  843412 
Change-Id: Id4ba9a91bfa6f6985471b679e4a5c73a7bb5f111
Reviewed-on: https://chromium-review.googlesource.com/c/1260602
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#597797}
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/content/shell/browser/layout_test/test_info_extractor.cc
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/content/shell/common/layout_test/layout_test_switches.cc
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/content/shell/common/layout_test/layout_test_switches.h
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/content/shell/renderer/layout_test/blink_test_helpers.cc
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/content/shell/renderer/layout_test/blink_test_helpers.h
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/content/shell/test_runner/test_common.cc
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/content/shell/test_runner/test_interfaces.cc
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/common/path_finder.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/common/path_finder_unittest.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/style/checker.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/tool/commands/queries.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/tool/commands/queries_unittest.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/tool/commands/rebaseline.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/tool/commands/rebaseline_cl_unittest.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/tool/commands/rebaseline_unittest.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/w3c/chromium_commit_unittest.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/w3c/chromium_exportable_commits_unittest.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/w3c/common.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/w3c/directory_owners_extractor_unittest.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/w3c/gerrit_unittest.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/w3c/import_notifier_unittest.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/w3c/test_copier_unittest.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/w3c/test_importer_unittest.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/w3c/wpt_manifest_unittest.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/web_tests/controllers/layout_test_finder.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/web_tests/port/android.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/web_tests/port/base.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/web_tests/port/base_unittest.py
[modify] https://crrev.com/8dffeee4decc82b6b29e3213d4c415eb9c911da9/third_party/blink/tools/blinkpy/web_tests/run_webkit_tests_unittest.py

Summary: Simplify path resolution in blinkpy. (was: Simplify path resolution in webkitpy.)
Project Member

Comment 18 by bugdroid1@chromium.org, Oct 11

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d2e80ef35389fc2437b7a64875b62674948dae04

commit d2e80ef35389fc2437b7a64875b62674948dae04
Author: Kent Tamura <tkent@chromium.org>
Date: Thu Oct 11 01:12:52 2018

blinkpy: Remove more instances of 'LayoutTests'

Note: This CL changes the last component of LAYOUT_TEST_DIR in test.py
from 'LayoutTests' to 'wtest'.  The new name represents this directory
is related to neither 'third_party/WebKit/LayoutTests' nor
'third_party/blink/web_tests'.


Bug: 710535,  843412 
Change-Id: I0529ac1b022d180d7d0779c0e19fe3d75a029de1
Reviewed-on: https://chromium-review.googlesource.com/c/1272936
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#598611}
[modify] https://crrev.com/d2e80ef35389fc2437b7a64875b62674948dae04/third_party/blink/tools/blinkpy/common/checkout/baseline_optimizer_unittest.py
[modify] https://crrev.com/d2e80ef35389fc2437b7a64875b62674948dae04/third_party/blink/tools/blinkpy/tool/commands/rebaseline_test_unittest.py
[modify] https://crrev.com/d2e80ef35389fc2437b7a64875b62674948dae04/third_party/blink/tools/blinkpy/tool/commands/rebaseline_unittest.py
[modify] https://crrev.com/d2e80ef35389fc2437b7a64875b62674948dae04/third_party/blink/tools/blinkpy/w3c/common_unittest.py
[modify] https://crrev.com/d2e80ef35389fc2437b7a64875b62674948dae04/third_party/blink/tools/blinkpy/w3c/directory_owners_extractor_unittest.py
[modify] https://crrev.com/d2e80ef35389fc2437b7a64875b62674948dae04/third_party/blink/tools/blinkpy/w3c/test_importer.py
[modify] https://crrev.com/d2e80ef35389fc2437b7a64875b62674948dae04/third_party/blink/tools/blinkpy/w3c/wpt_expectations_updater_unittest.py
[modify] https://crrev.com/d2e80ef35389fc2437b7a64875b62674948dae04/third_party/blink/tools/blinkpy/web_tests/lint_test_expectations.py
[modify] https://crrev.com/d2e80ef35389fc2437b7a64875b62674948dae04/third_party/blink/tools/blinkpy/web_tests/lint_test_expectations_unittest.py
[modify] https://crrev.com/d2e80ef35389fc2437b7a64875b62674948dae04/third_party/blink/tools/blinkpy/web_tests/models/test_expectations_unittest.py
[modify] https://crrev.com/d2e80ef35389fc2437b7a64875b62674948dae04/third_party/blink/tools/blinkpy/web_tests/port/base.py
[modify] https://crrev.com/d2e80ef35389fc2437b7a64875b62674948dae04/third_party/blink/tools/blinkpy/web_tests/port/test.py
[modify] https://crrev.com/d2e80ef35389fc2437b7a64875b62674948dae04/third_party/blink/tools/blinkpy/web_tests/servers/wptserve_unittest.py

Sign in to add a comment