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

Side by Side Diff: webkit/tools/layout_tests/webkitpy/layout_package/http_server.py

Issue 545145: Move the layout test scripts into a 'webkitpy' subdirectory in preparation... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: try to de-confuse svn and the try bots Created 10 years, 11 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 | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """A class to help start/stop the lighttpd server used by layout tests.""" 6 """A class to help start/stop the lighttpd server used by layout tests."""
7 7
8 8
9 import logging 9 import logging
10 import optparse 10 import optparse
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 raise 'Specifying port requires also a root.' 246 raise 'Specifying port requires also a root.'
247 httpd = Lighttpd(tempfile.gettempdir(), 247 httpd = Lighttpd(tempfile.gettempdir(),
248 port=options.port, 248 port=options.port,
249 root=options.root, 249 root=options.root,
250 register_cygwin=options.register_cygwin, 250 register_cygwin=options.register_cygwin,
251 run_background=options.run_background) 251 run_background=options.run_background)
252 if 'start' == options.server: 252 if 'start' == options.server:
253 httpd.Start() 253 httpd.Start()
254 else: 254 else:
255 httpd.Stop(force=True) 255 httpd.Stop(force=True)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698