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

Side by Side Diff: Tools/Scripts/webkitpy/layout_tests/port/base.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: merge forward to r177025 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 1109 matching lines...) Expand 10 before | Expand all | Expand 10 after
1120 1120
1121 Ports can stub this out if they don't need a websocket server to be runn ing.""" 1121 Ports can stub this out if they don't need a websocket server to be runn ing."""
1122 assert not self._websocket_server, 'Already running a websocket server.' 1122 assert not self._websocket_server, 'Already running a websocket server.'
1123 1123
1124 server = pywebsocket.PyWebSocket(self, self.results_directory()) 1124 server = pywebsocket.PyWebSocket(self, self.results_directory())
1125 server.start() 1125 server.start()
1126 self._websocket_server = server 1126 self._websocket_server = server
1127 1127
1128 def http_server_supports_ipv6(self): 1128 def http_server_supports_ipv6(self):
1129 # Apache < 2.4 on win32 does not support IPv6, nor does cygwin apache. 1129 # Apache < 2.4 on win32 does not support IPv6, nor does cygwin apache.
1130 if self.host.platform.is_cygwin() or self.get_option('use_apache') and s elf.host.platform.is_win(): 1130 if self.host.platform.is_cygwin() or (self.uses_apache() and self.host.p latform.is_win()):
1131 return False 1131 return False
1132 return True 1132 return True
1133 1133
1134 def stop_helper(self): 1134 def stop_helper(self):
1135 """Shut down the test helper if it is running. Do nothing if 1135 """Shut down the test helper if it is running. Do nothing if
1136 it isn't, or it isn't available. If a port overrides start_helper() 1136 it isn't, or it isn't available. If a port overrides start_helper()
1137 it must override this routine as well.""" 1137 it must override this routine as well."""
1138 if self._helper: 1138 if self._helper:
1139 _log.debug("Stopping layout test helper") 1139 _log.debug("Stopping layout test helper")
1140 try: 1140 try:
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
1806 1806
1807 class PhysicalTestSuite(object): 1807 class PhysicalTestSuite(object):
1808 def __init__(self, base, args): 1808 def __init__(self, base, args):
1809 self.name = base 1809 self.name = base
1810 self.base = base 1810 self.base = base
1811 self.args = args 1811 self.args = args
1812 self.tests = set() 1812 self.tests = set()
1813 1813
1814 def __repr__(self): 1814 def __repr__(self):
1815 return "PhysicalTestSuite('%s', '%s', %s)" % (self.name, self.base, self .args) 1815 return "PhysicalTestSuite('%s', '%s', %s)" % (self.name, self.base, self .args)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698