| OLD | NEW |
| 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 Loading... |
| 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=[])) |
| OLD | NEW |