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

Side by Side Diff: sky/tools/webkitpy/layout_tests/port/base.py

Issue 754673003: Green sky tests on the asan bot. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after
1152 self._websocket_server.stop() 1152 self._websocket_server.stop()
1153 self._websocket_server = None 1153 self._websocket_server = None
1154 1154
1155 # 1155 #
1156 # TEST EXPECTATION-RELATED METHODS 1156 # TEST EXPECTATION-RELATED METHODS
1157 # 1157 #
1158 1158
1159 def test_configuration(self): 1159 def test_configuration(self):
1160 """Returns the current TestConfiguration for the port.""" 1160 """Returns the current TestConfiguration for the port."""
1161 if not self._test_configuration: 1161 if not self._test_configuration:
1162 self._test_configuration = TestConfiguration(self._version, self._ar chitecture, self._options.configuration.lower()) 1162 configuration = self._options.configuration.lower().split('_')[0]
sky 2014/12/08 18:15:53 Current formatting is [android_|chromeos_]Debug|Re
1163 self._test_configuration = TestConfiguration(self._version, self._ar chitecture, configuration)
1163 return self._test_configuration 1164 return self._test_configuration
1164 1165
1165 # FIXME: Belongs on a Platform object. 1166 # FIXME: Belongs on a Platform object.
1166 @memoized 1167 @memoized
1167 def all_test_configurations(self): 1168 def all_test_configurations(self):
1168 """Returns a list of TestConfiguration instances, representing all avail able 1169 """Returns a list of TestConfiguration instances, representing all avail able
1169 test configurations for this port.""" 1170 test configurations for this port."""
1170 return self._generate_all_test_configurations() 1171 return self._generate_all_test_configurations()
1171 1172
1172 # FIXME: Belongs on a Platform object. 1173 # FIXME: Belongs on a Platform object.
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after
1765 1766
1766 class PhysicalTestSuite(object): 1767 class PhysicalTestSuite(object):
1767 def __init__(self, base, args): 1768 def __init__(self, base, args):
1768 self.name = base 1769 self.name = base
1769 self.base = base 1770 self.base = base
1770 self.args = args 1771 self.args = args
1771 self.tests = set() 1772 self.tests = set()
1772 1773
1773 def __repr__(self): 1774 def __repr__(self):
1774 return "PhysicalTestSuite('%s', '%s', %s)" % (self.name, self.base, self .args) 1775 return "PhysicalTestSuite('%s', '%s', %s)" % (self.name, self.base, self .args)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698