| Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/bisect_test_ordering.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/bisect_test_ordering.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/bisect_test_ordering.py
|
| index ce7729efa47cc18bbaf7a6dbee2f91db1594d83a..9108c4cf4ed56d3ec0de8d6d5be5ef194aaecb9b 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/bisect_test_ordering.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/bisect_test_ordering.py
|
| @@ -146,8 +146,9 @@ class Bisector(object):
|
| def test_fails(self, tests):
|
| extra_args = ['--debug'] if self.is_debug else []
|
| path_to_run_webkit_tests = self.webkit_finder.path_from_webkit_base('Tools', 'Scripts', 'run-webkit-tests')
|
| - output = self.executive.popen([path_to_run_webkit_tests, '--child-processes', '1', '--order', 'none', '--no-retry',
|
| - '--no-show-results', '--verbose'] + extra_args + tests, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
| + output = self.executive.popen(
|
| + [path_to_run_webkit_tests, '--child-processes', '1', '--order', 'none', '--no-retry',
|
| + '--no-show-results', '--verbose'] + extra_args + tests, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
| failure_string = self.expected_failure + ' failed'
|
| if failure_string in output.stderr.read():
|
| return True
|
| @@ -158,9 +159,12 @@ def main(argv):
|
| logging.basicConfig()
|
|
|
| option_parser = optparse.OptionParser()
|
| - option_parser.add_option('--test-list', action='store',
|
| - help='file that list tests to bisect. The last test in the list is the expected failure.', metavar='FILE'),
|
| - option_parser.add_option('--debug', action='store_true', default=False, help='whether to use a debug build'),
|
| + option_parser.add_option(
|
| + '--test-list',
|
| + action='store',
|
| + help='file that list tests to bisect. The last test in the list is the expected failure.',
|
| + metavar='FILE')
|
| + option_parser.add_option('--debug', action='store_true', default=False, help='whether to use a debug build')
|
| options, _ = option_parser.parse_args(argv)
|
|
|
| tests = open(options.test_list).read().strip().split('\n')
|
|
|