Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/PRESUBMIT.py |
| diff --git a/third_party/WebKit/LayoutTests/PRESUBMIT.py b/third_party/WebKit/LayoutTests/PRESUBMIT.py |
| index c6566a7e22eb61667d7c59ae3d7ccb4c3ff4a677..76c6db43dc4199d7c8a1c4c096577b9f168ff580 100644 |
| --- a/third_party/WebKit/LayoutTests/PRESUBMIT.py |
| +++ b/third_party/WebKit/LayoutTests/PRESUBMIT.py |
| @@ -57,20 +57,19 @@ def _TestharnessBaselineFilesToCheck(input_api): |
| def _CheckIdenticalFiles(input_api, output_api): |
| """Verifies that certain files are identical in various locations. |
| - These files should always be updated together.""" |
| + These files should always be updated together. If this list is modified, |
| + consider also changing the list of files to copy from web-platform-tests |
| + when importing in Tools/Scripts/webkitpy/deps_updater.py. |
| + """ |
| dirty_files = set(input_api.LocalPaths()) |
| - groups = [[ |
| - 'imported/wpt/resources/testharness.js', |
| - 'resources/testharness.js', |
| - ], [ |
| - 'imported/wpt/resources/testharnessreport.js', |
|
jsbell
2016/09/01 16:51:05
We still want testharnessreport.js to be identical
|
| - 'resources/testharnessreport.js', |
| - ], [ |
| - 'imported/wpt/resources/idlharness.js', |
| - 'resources/idlharness.js', |
| - ]] |
| + groups = [ |
| + ('imported/wpt/resources/idlharness.js', 'resources/idlharness.js'), |
| + ('imported/wpt/resources/testharness.js', 'resources/testharness.js'), |
| + ('imported/wpt/resources/WebIDLParser.js', 'resources/WebIDLParser.js'), |
| + ('imported/wpt/common/vendor-prefix.js', 'resources/vendor-prefix.js'), |
| + ] |
| def _absolute_path(s): |
| return input_api.os_path.join(input_api.PresubmitLocalPath(), *s.split('/')) |