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

Unified Diff: third_party/WebKit/Tools/Scripts/run-blink-websocketserver

Issue 2719633002: Add descriptions with examples to run-blink-* scripts. (Closed)
Patch Set: Expand comment Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Tools/Scripts/run-blink-websocketserver
diff --git a/third_party/WebKit/Tools/Scripts/run-blink-websocketserver b/third_party/WebKit/Tools/Scripts/run-blink-websocketserver
index 4053e8b89d0a839b7afa55a81f5ac4a45424bdd9..5534fc3abdff1eb9538d9f145727db357ec54fdd 100755
--- a/third_party/WebKit/Tools/Scripts/run-blink-websocketserver
+++ b/third_party/WebKit/Tools/Scripts/run-blink-websocketserver
@@ -27,9 +27,20 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+"""Runs a WebSocket server for WebSocket tests.
+
+Some tests require both an HTTP server and WebSocket server. You can start
+both servers by running both run-blink-httpd and run-blink-websocketserver.
+
+Tests served by the HTTP server have paths relative to LayoutTests/http/tests/.
+For example, to run a test http/tests/websocket/binary-type.html which depends
+on WebSocket, you can navigate to:
+ http://127.0.0.1:8000/websocket/close-unref-websocket.html
+"""
+
import webkitpy.common.version_check
from webkitpy.layout_tests.servers import cli_wrapper
from webkitpy.layout_tests.servers import pywebsocket
-cli_wrapper.main(pywebsocket.PyWebSocket)
+cli_wrapper.main(pywebsocket.PyWebSocket, description)
« no previous file with comments | « third_party/WebKit/Tools/Scripts/run-blink-httpd ('k') | third_party/WebKit/Tools/Scripts/run-blink-wptserve » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698