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

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/linux.py

Issue 2514253002: Remove support for the linux-precise layout tests port. (Closed)
Patch Set: Temporarily skip tests that are failing on linux_chromium_rel_ng Created 4 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
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 21 matching lines...) Expand all
32 from webkitpy.layout_tests.port import base 32 from webkitpy.layout_tests.port import base
33 from webkitpy.layout_tests.port import win 33 from webkitpy.layout_tests.port import win
34 34
35 35
36 _log = logging.getLogger(__name__) 36 _log = logging.getLogger(__name__)
37 37
38 38
39 class LinuxPort(base.Port): 39 class LinuxPort(base.Port):
40 port_name = 'linux' 40 port_name = 'linux'
41 41
42 SUPPORTED_VERSIONS = ('precise', 'trusty') 42 SUPPORTED_VERSIONS = ('trusty',)
43 43
44 FALLBACK_PATHS = {} 44 FALLBACK_PATHS = {}
45 FALLBACK_PATHS['trusty'] = ['linux'] + win.WinPort.latest_platform_fallback_ path() 45 FALLBACK_PATHS['trusty'] = ['linux'] + win.WinPort.latest_platform_fallback_ path()
46 FALLBACK_PATHS['precise'] = ['linux-precise'] + FALLBACK_PATHS['trusty']
47 46
48 DEFAULT_BUILD_DIRECTORIES = ('out',) 47 DEFAULT_BUILD_DIRECTORIES = ('out',)
49 48
50 BUILD_REQUIREMENTS_URL = 'https://chromium.googlesource.com/chromium/src/+/m aster/docs/linux_build_instructions.md' 49 BUILD_REQUIREMENTS_URL = 'https://chromium.googlesource.com/chromium/src/+/m aster/docs/linux_build_instructions.md'
51 50
52 @classmethod 51 @classmethod
53 def determine_full_port_name(cls, host, options, port_name): 52 def determine_full_port_name(cls, host, options, port_name):
54 if port_name.endswith('linux'): 53 if port_name.endswith('linux'):
55 assert host.platform.is_linux() 54 assert host.platform.is_linux()
56 version = host.platform.os_version 55 version = host.platform.os_version
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 _log.error(' Please install using: "sudo apt-get install apache2 libapache2-mod-php5"') 149 _log.error(' Please install using: "sudo apt-get install apache2 libapache2-mod-php5"')
151 _log.error('') 150 _log.error('')
152 return result 151 return result
153 152
154 def _wdiff_missing_message(self): 153 def _wdiff_missing_message(self):
155 return 'wdiff is not installed; please install using "sudo apt-get insta ll wdiff"' 154 return 'wdiff is not installed; please install using "sudo apt-get insta ll wdiff"'
156 155
157 def _path_to_driver(self, target=None): 156 def _path_to_driver(self, target=None):
158 binary_name = self.driver_name() 157 binary_name = self.driver_name()
159 return self._build_path_with_target(target, binary_name) 158 return self._build_path_with_target(target, binary_name)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698