Chromium Code Reviews| Index: third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py |
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py |
| index 152b5f74f9dc7b161a76efe9b60e841c55a1b9e6..5ca2a3658fe4a4d0609e5b29f22e0faa923aa243 100644 |
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py |
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py |
| @@ -197,6 +197,8 @@ class DepsUpdater(object): |
| Tests with "-manual" in the name are not considered manual tests |
| if there is a corresponding JS automation file. |
| """ |
| + if '.' not in basename: |
| + return False |
| basename_without_extension, _ = basename.rsplit('.', 1) |
|
Rick Byers
2016/07/15 15:29:49
nit: this would be slightly simpler as:
basename_w
|
| if not basename_without_extension.endswith('-manual'): |
| return False |