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

Side by Side Diff: Tools/Scripts/run-blink-httpd

Issue 14842006: Copy new-run-webkit-httpd to run-blink-httpd, delete run-webkit-httpd. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tweak Created 7 years, 7 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
« no previous file with comments | « Tools/Scripts/new-run-webkit-websocketserver ('k') | Tools/Scripts/run-blink-websocketserver » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (C) 2010 Google Inc. All rights reserved. 2 # Copyright (C) 2010 Google Inc. All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 13 matching lines...) Expand all
24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 29
30 """A utility script for starting and stopping the HTTP server with the 30 """A utility script for starting and stopping the HTTP server with the
31 same configuration as used in the layout tests.""" 31 same configuration as used in the layout tests."""
32 32
33 # 33 #
34 # FIXME: currently this code only works with the Chromium ports and LigHTTPd.
35 # It should be made to work on all ports.
36 #
37 # This script is also used by Chromium's ui_tests to run http layout tests 34 # This script is also used by Chromium's ui_tests to run http layout tests
38 # in a browser. 35 # in a browser.
39 # 36 #
40 import optparse 37 import optparse
41 import os 38 import os
42 import sys 39 import sys
43 import tempfile 40 import tempfile
44 41
45 import webkitpy.common.version_check 42 import webkitpy.common.version_check
46 43
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 option_parser.add_option('--layout_tests_dir', 87 option_parser.add_option('--layout_tests_dir',
91 dest="layout_tests_dir", 88 dest="layout_tests_dir",
92 help='Absolute path to LayoutTests root') 89 help='Absolute path to LayoutTests root')
93 options, args = option_parser.parse_args() 90 options, args = option_parser.parse_args()
94 91
95 run(options) 92 run(options)
96 93
97 94
98 if '__main__' == __name__: 95 if '__main__' == __name__:
99 main() 96 main()
OLDNEW
« no previous file with comments | « Tools/Scripts/new-run-webkit-websocketserver ('k') | Tools/Scripts/run-blink-websocketserver » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698