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

Side by Side Diff: Tools/Scripts/webkitpy/layout_tests/port/win.py

Issue 327423008: Change port to use apache by default on win7, update test expectations. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 return result 196 return result
197 197
198 def operating_system(self): 198 def operating_system(self):
199 return 'win' 199 return 'win'
200 200
201 def relative_test_filename(self, filename): 201 def relative_test_filename(self, filename):
202 path = filename[len(self.layout_tests_dir()) + 1:] 202 path = filename[len(self.layout_tests_dir()) + 1:]
203 return path.replace('\\', '/') 203 return path.replace('\\', '/')
204 204
205 def uses_apache(self): 205 def uses_apache(self):
206 return self.get_option('use_apache') 206 val = self.get_option('use_apache')
207 if val is None:
208 val = bool(self.version() != 'xp')
209 return val
207 210
208 def path_to_apache(self): 211 def path_to_apache(self):
209 return self.path_from_chromium_base('third_party', 'apache-win32', 'bin' , 'httpd.exe') 212 return self.path_from_chromium_base('third_party', 'apache-win32', 'bin' , 'httpd.exe')
210 213
211 def path_to_apache_config_file(self): 214 def path_to_apache_config_file(self):
212 return self._filesystem.join(self.layout_tests_dir(), 'http', 'conf', 'w in-httpd.conf') 215 return self._filesystem.join(self.layout_tests_dir(), 'http', 'conf', 'w in-httpd.conf')
213 216
214 def _lighttpd_path(self, *comps): 217 def _lighttpd_path(self, *comps):
215 return self.path_from_chromium_base('third_party', 'lighttpd', 'win', *c omps) 218 return self.path_from_chromium_base('third_party', 'lighttpd', 'win', *c omps)
216 219
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 return result 255 return result
253 256
254 def look_for_new_crash_logs(self, crashed_processes, start_time): 257 def look_for_new_crash_logs(self, crashed_processes, start_time):
255 if self.get_option('disable_breakpad'): 258 if self.get_option('disable_breakpad'):
256 return None 259 return None
257 return self._dump_reader.look_for_new_crash_logs(crashed_processes, star t_time) 260 return self._dump_reader.look_for_new_crash_logs(crashed_processes, star t_time)
258 261
259 def clobber_old_port_specific_results(self): 262 def clobber_old_port_specific_results(self):
260 if not self.get_option('disable_breakpad'): 263 if not self.get_option('disable_breakpad'):
261 self._dump_reader.clobber_old_results() 264 self._dump_reader.clobber_old_results()
OLDNEW
« LayoutTests/FlakyTests ('K') | « Tools/Scripts/webkitpy/layout_tests/port/base.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698