Changeset 286817 in webkit
- Timestamp:
- Dec 9, 2021, 4:30:40 PM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/webkitpy/style/checker.py (modified) (1 diff)
-
Scripts/webkitpy/style/checker_unittest.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r286816 r286817 1 2021-12-09 Lauro Moura <lmoura@igalia.com> 2 3 [webkitpy] Make check-webkit-style check WebDriverTests/TestExpectations.json 4 https://bugs.webkit.org/show_bug.cgi?id=213453 5 6 Reviewed by Adrian Perez de Castro. 7 8 While the WebDriver tests are imported and mostly ignored by 9 check-webkit-style, the script must check TestExpectations.json 10 to avoid commiting invalid json data and breaking the bots. 11 12 * Scripts/webkitpy/style/checker.py: 13 * Scripts/webkitpy/style/checker_unittest.py: 14 (CheckerDispatcherSkipTest._assert_should_skip_without_warning): Pass 15 a valid error handler so the JSONChecker can be instantiated. 16 (CheckerDispatcherSkipTest.test_should_skip_without_warning__false): 17 1 18 2021-12-09 Alex Christensen <achristensen@webkit.org> 2 19 -
trunk/Tools/Scripts/webkitpy/style/checker.py
r285819 r286817 369 369 _NEVER_SKIPPED_FILES = _NEVER_SKIPPED_JS_FILES + [ 370 370 'TestExpectations', 371 'TestExpectations.json', 371 372 '.py' 372 373 ] -
trunk/Tools/Scripts/webkitpy/style/checker_unittest.py
r276082 r286817 320 320 # Check the file type before asserting the return value. 321 321 checker = self._dispatcher.dispatch(file_path=path, 322 handle_style_error= None,322 handle_style_error=DefaultStyleErrorHandler('', None, None, []), 323 323 min_confidence=3, 324 324 commit_queue=False) … … 349 349 os.path.join('LayoutTests', 'ChangeLog'), 350 350 os.path.join('LayoutTests', 'foo.py'), 351 os.path.join('WebDriverTests', 'ChangeLog'), 352 os.path.join('WebDriverTests', 'TestExpectations.json'), 351 353 ] 352 354
Note:
See TracChangeset
for help on using the changeset viewer.