| OLD | NEW |
| 1 # Copyright (C) 2010 Google Inc. All rights reserved. | 1 # Copyright (C) 2010 Google Inc. All rights reserved. |
| 2 # | 2 # |
| 3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
| 4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
| 5 # met: | 5 # met: |
| 6 # | 6 # |
| 7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
| 8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
| 9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
| 10 # copyright notice, this list of conditions and the following disclaimer | 10 # copyright notice, this list of conditions and the following disclaimer |
| (...skipping 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1217 def warn_if_bug_missing_in_test_expectations(self): | 1217 def warn_if_bug_missing_in_test_expectations(self): |
| 1218 return True | 1218 return True |
| 1219 | 1219 |
| 1220 def _port_specific_expectations_files(self): | 1220 def _port_specific_expectations_files(self): |
| 1221 paths = [] | 1221 paths = [] |
| 1222 paths.append(self.path_from_chromium_base('skia', 'skia_test_expectation
s.txt')) | 1222 paths.append(self.path_from_chromium_base('skia', 'skia_test_expectation
s.txt')) |
| 1223 paths.append(self.path_from_chromium_base('webkit', 'tools', 'layout_tes
ts', 'test_expectations_w3c.txt')) | 1223 paths.append(self.path_from_chromium_base('webkit', 'tools', 'layout_tes
ts', 'test_expectations_w3c.txt')) |
| 1224 paths.append(self._filesystem.join(self.layout_tests_dir(), 'NeverFixTes
ts')) | 1224 paths.append(self._filesystem.join(self.layout_tests_dir(), 'NeverFixTes
ts')) |
| 1225 paths.append(self._filesystem.join(self.layout_tests_dir(), 'StaleTestEx
pectations')) | 1225 paths.append(self._filesystem.join(self.layout_tests_dir(), 'StaleTestEx
pectations')) |
| 1226 paths.append(self._filesystem.join(self.layout_tests_dir(), 'SlowTests')
) | 1226 paths.append(self._filesystem.join(self.layout_tests_dir(), 'SlowTests')
) |
| 1227 paths.append(self._filesystem.join(self.layout_tests_dir(), 'FlakyTests'
)) |
| 1227 | 1228 |
| 1228 builder_name = self.get_option('builder_name', 'DUMMY_BUILDER_NAME') | 1229 builder_name = self.get_option('builder_name', 'DUMMY_BUILDER_NAME') |
| 1229 if builder_name == 'DUMMY_BUILDER_NAME' or '(deps)' in builder_name or b
uilder_name in self.try_builder_names: | 1230 if builder_name == 'DUMMY_BUILDER_NAME' or '(deps)' in builder_name or b
uilder_name in self.try_builder_names: |
| 1230 paths.append(self.path_from_chromium_base('webkit', 'tools', 'layout
_tests', 'test_expectations.txt')) | 1231 paths.append(self.path_from_chromium_base('webkit', 'tools', 'layout
_tests', 'test_expectations.txt')) |
| 1231 return paths | 1232 return paths |
| 1232 | 1233 |
| 1233 def expectations_dict(self): | 1234 def expectations_dict(self): |
| 1234 """Returns an OrderedDict of name -> expectations strings. | 1235 """Returns an OrderedDict of name -> expectations strings. |
| 1235 The names are expected to be (but not required to be) paths in the files
ystem. | 1236 The names are expected to be (but not required to be) paths in the files
ystem. |
| 1236 If the name is a path, the file can be considered updatable for things l
ike rebaselining, | 1237 If the name is a path, the file can be considered updatable for things l
ike rebaselining, |
| (...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1935 | 1936 |
| 1936 class PhysicalTestSuite(object): | 1937 class PhysicalTestSuite(object): |
| 1937 def __init__(self, base, args): | 1938 def __init__(self, base, args): |
| 1938 self.name = base | 1939 self.name = base |
| 1939 self.base = base | 1940 self.base = base |
| 1940 self.args = args | 1941 self.args = args |
| 1941 self.tests = set() | 1942 self.tests = set() |
| 1942 | 1943 |
| 1943 def __repr__(self): | 1944 def __repr__(self): |
| 1944 return "PhysicalTestSuite('%s', '%s', %s)" % (self.name, self.base, self
.args) | 1945 return "PhysicalTestSuite('%s', '%s', %s)" % (self.name, self.base, self
.args) |
| OLD | NEW |