blob: 7b148d36ac547a65f1f848778b75a90743bc8d63 [file] [log] [blame]
commit-queue@webkit.org026ee042018-01-04 07:18:18 +00001#!/usr/bin/env python
ape0deea42006-06-21 16:21:19 +00002
bfulgham@apple.com89db4422015-01-30 18:26:36 +00003# Copyright (C) 2005, 2006, 2007, 2015 Apple Inc. All rights reserved.
ape0deea42006-06-21 16:21:19 +00004# Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com)
dbates@webkit.orgac2e3a32011-01-31 22:32:42 +00005# Copyright (C) 2011 Research In Motion Limited. All rights reserved.
ape0deea42006-06-21 16:21:19 +00006#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions
9# are met:
10#
11# 1. Redistributions of source code must retain the above copyright
commit-queue@webkit.org374da2c2017-05-23 15:56:12 +000012# notice, this list of conditions and the following disclaimer.
ape0deea42006-06-21 16:21:19 +000013# 2. Redistributions in binary form must reproduce the above copyright
14# notice, this list of conditions and the following disclaimer in the
commit-queue@webkit.org374da2c2017-05-23 15:56:12 +000015# documentation and/or other materials provided with the distribution.
ddkilzer1cb37272007-07-13 18:16:15 +000016# 3. Neither the name of Apple Inc. ("Apple") nor the names of
ape0deea42006-06-21 16:21:19 +000017# its contributors may be used to endorse or promote products derived
commit-queue@webkit.org374da2c2017-05-23 15:56:12 +000018# from this software without specific prior written permission.
ape0deea42006-06-21 16:21:19 +000019#
20# THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
21# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
22# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23# DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
24# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
25# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
26# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
29# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
jer.noble@apple.com52d56242016-02-18 22:31:49 +000031import sys
ape0deea42006-06-21 16:21:19 +000032
commit-queue@webkit.org374da2c2017-05-23 15:56:12 +000033from webkitpy.layout_tests.servers.run_webkit_httpd import parse_args, run_server
ape0deea42006-06-21 16:21:19 +000034
ap1dc19f02006-06-22 17:18:39 +000035
jer.noble@apple.com52d56242016-02-18 22:31:49 +000036def main(argv, stdout, stderr):
37 options, args = parse_args(argv)
commit-queue@webkit.org374da2c2017-05-23 15:56:12 +000038 run_server(options, args, stdout, stderr)
commit-queue@webkit.orge258a892016-07-02 17:45:57 +000039
ape0deea42006-06-21 16:21:19 +000040
jer.noble@apple.com52d56242016-02-18 22:31:49 +000041if __name__ == '__main__':
42 sys.exit(main(sys.argv[1:], sys.stdout, sys.stderr))