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

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_flaky_expectations.py

Issue 2895863003: Rename update-test-expectations -> update-flaky-expectations (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Updates TestExpectations based on results in builder bots. 5 """Updates TestExpectations based on results in builder bots.
6 6
7 Scans the TestExpectations file and uses results from actual builder bots runs 7 Scans the TestExpectations file and uses results from actual builder bots runs
8 to remove tests that are marked as flaky but don't fail in the specified way. 8 to remove tests that are marked as flaky but don't fail in the specified way.
9 9
10 E.g. If a test has this expectation: 10 E.g. If a test has this expectation:
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 """Writes the given TestExpectations object to the filesystem. 335 """Writes the given TestExpectations object to the filesystem.
336 336
337 Args: 337 Args:
338 test_expectations: The TestExpectations object to write. 338 test_expectations: The TestExpectations object to write.
339 test_expectations_file: The full file path of the Blink 339 test_expectations_file: The full file path of the Blink
340 TestExpectations file. This file will be overwritten. 340 TestExpectations file. This file will be overwritten.
341 """ 341 """
342 self._host.filesystem.write_text_file( 342 self._host.filesystem.write_text_file(
343 test_expectations_file, 343 test_expectations_file,
344 TestExpectations.list_to_string(test_expectations, reconstitute_only _these=[])) 344 TestExpectations.list_to_string(test_expectations, reconstitute_only _these=[]))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698