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

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

Issue 705623003: Fix test_sky in release builds (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/tools/test_perf ('k') | 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 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after
1094 return True 1094 return True
1095 1095
1096 def start_http_server(self, additional_dirs, number_of_drivers): 1096 def start_http_server(self, additional_dirs, number_of_drivers):
1097 """Start a web server. Raise an error if it can't start or is already ru nning. 1097 """Start a web server. Raise an error if it can't start or is already ru nning.
1098 1098
1099 Ports can stub this out if they don't need a web server to be running."" " 1099 Ports can stub this out if they don't need a web server to be running."" "
1100 assert not self._http_server, 'Already running an http server.' 1100 assert not self._http_server, 'Already running an http server.'
1101 1101
1102 self._http_server = subprocess.Popen([ 1102 self._http_server = subprocess.Popen([
1103 self.path_to_script('sky_server'), 1103 self.path_to_script('sky_server'),
1104 '-t', self.get_option('configuration'),
1104 self.path_from_chromium_base(), 1105 self.path_from_chromium_base(),
1105 '8000', 1106 '8000',
1106 ]) 1107 ])
1107 1108
1108 def start_websocket_server(self): 1109 def start_websocket_server(self):
1109 """Start a web server. Raise an error if it can't start or is already ru nning. 1110 """Start a web server. Raise an error if it can't start or is already ru nning.
1110 1111
1111 Ports can stub this out if they don't need a websocket server to be runn ing.""" 1112 Ports can stub this out if they don't need a websocket server to be runn ing."""
1112 assert not self._websocket_server, 'Already running a websocket server.' 1113 assert not self._websocket_server, 'Already running a websocket server.'
1113 1114
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
1761 1762
1762 class PhysicalTestSuite(object): 1763 class PhysicalTestSuite(object):
1763 def __init__(self, base, args): 1764 def __init__(self, base, args):
1764 self.name = base 1765 self.name = base
1765 self.base = base 1766 self.base = base
1766 self.args = args 1767 self.args = args
1767 self.tests = set() 1768 self.tests = set()
1768 1769
1769 def __repr__(self): 1770 def __repr__(self):
1770 return "PhysicalTestSuite('%s', '%s', %s)" % (self.name, self.base, self .args) 1771 return "PhysicalTestSuite('%s', '%s', %s)" % (self.name, self.base, self .args)
OLDNEW
« no previous file with comments | « sky/tools/test_perf ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698