Skip to content

Commit

Permalink
Add script for running wptserve from the command line.
Browse files Browse the repository at this point in the history
Currently it is rather annoying to spin up a wptserve instance to test
the imported Web Platform Tests, even though there is a convenient
--enable-wptserve option to run-webkit-tests. This adds a simple script,
run-blink-wptserve, to start a wptserve instance and allow for easier
manual testing.

Review URL: https://codereview.chromium.org/1408763002

Cr-Commit-Position: refs/heads/master@{#354360}
  • Loading branch information
joelweinberger authored and Commit bot committed Oct 15, 2015
1 parent 7aa9984 commit c3ceb74
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions third_party/WebKit/Tools/Scripts/run-blink-wptserve
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env python
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# Runs an instance of wptserve to allow manual testing of the imported Web
# Platform Tests. The main HTTP server is run on 8001, while the main HTTPS
# server is run on 8444.

import webkitpy.common.version_check

from webkitpy.layout_tests.servers import cli_wrapper
from webkitpy.layout_tests.servers import wptserve

cli_wrapper.main(wptserve.WPTServe)

0 comments on commit c3ceb74

Please sign in to comment.