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

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

Issue 1227053002: Remove reference to deleted “win” python file to prevent crash when running test_sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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
« 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 15 matching lines...) Expand all
26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 28
29 import logging 29 import logging
30 import re 30 import re
31 31
32 from webkitpy.common.webkit_finder import WebKitFinder 32 from webkitpy.common.webkit_finder import WebKitFinder
33 from webkitpy.layout_tests.breakpad.dump_reader_multipart import DumpReaderLinux 33 from webkitpy.layout_tests.breakpad.dump_reader_multipart import DumpReaderLinux
34 from webkitpy.layout_tests.models import test_run_results 34 from webkitpy.layout_tests.models import test_run_results
35 from webkitpy.layout_tests.port import base 35 from webkitpy.layout_tests.port import base
36 from webkitpy.layout_tests.port import win
37 from webkitpy.layout_tests.port import config 36 from webkitpy.layout_tests.port import config
38 37
39 38
40 _log = logging.getLogger(__name__) 39 _log = logging.getLogger(__name__)
41 40
42 41
43 class LinuxPort(base.Port): 42 class LinuxPort(base.Port):
44 port_name = 'linux' 43 port_name = 'linux'
45 44
46 SUPPORTED_VERSIONS = ('x86', 'x86_64') 45 SUPPORTED_VERSIONS = ('x86', 'x86_64')
47 46
48 FALLBACK_PATHS = { 'x86_64': [ 'linux' ] + win.WinPort.latest_platform_fallb ack_path() } 47 FALLBACK_PATHS = { 'x86_64': [ 'linux' ] }
49 FALLBACK_PATHS['x86'] = ['linux-x86'] + FALLBACK_PATHS['x86_64'] 48 FALLBACK_PATHS['x86'] = ['linux-x86'] + FALLBACK_PATHS['x86_64']
50 49
51 DEFAULT_BUILD_DIRECTORIES = ('out',) 50 DEFAULT_BUILD_DIRECTORIES = ('out',)
52 51
53 BUILD_REQUIREMENTS_URL = 'https://code.google.com/p/chromium/wiki/LinuxBuild Instructions' 52 BUILD_REQUIREMENTS_URL = 'https://code.google.com/p/chromium/wiki/LinuxBuild Instructions'
54 53
55 @classmethod 54 @classmethod
56 def _determine_driver_path_statically(cls, host, options): 55 def _determine_driver_path_statically(cls, host, options):
57 config_object = config.Config(host.executive, host.filesystem) 56 config_object = config.Config(host.executive, host.filesystem)
58 build_directory = getattr(options, 'build_directory', None) 57 build_directory = getattr(options, 'build_directory', None)
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 return path 153 return path
155 _log.error("Could not find apache. Not installed or unknown path.") 154 _log.error("Could not find apache. Not installed or unknown path.")
156 return None 155 return None
157 156
158 def _path_to_driver(self, configuration=None): 157 def _path_to_driver(self, configuration=None):
159 binary_name = self.driver_name() 158 binary_name = self.driver_name()
160 return self._build_path_with_configuration(configuration, binary_name) 159 return self._build_path_with_configuration(configuration, binary_name)
161 160
162 def _path_to_helper(self): 161 def _path_to_helper(self):
163 return None 162 return None
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