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

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

Issue 2719633002: Add descriptions with examples to run-blink-* scripts. (Closed)
Patch Set: Add docs for other scripts 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-httpd
diff --git a/third_party/WebKit/Tools/Scripts/run-blink-httpd b/third_party/WebKit/Tools/Scripts/run-blink-httpd
index a3a01a4d5468999151a7e766f2c752de1b1fce67..5a725c3ebfe09ef44eb08eb9f5343dd43ce5b7ea 100755
--- a/third_party/WebKit/Tools/Scripts/run-blink-httpd
+++ b/third_party/WebKit/Tools/Scripts/run-blink-httpd
@@ -27,9 +27,21 @@
# (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 an Apache HTTP server to manually run layout tests locally.
+
+After running this script, you can locally navigate to URLS where
dcheng 2017/02/25 00:06:24 Nit: URLs
qyearsley 2017/02/26 19:21:44 Done
+the path is relative to LayoutTests/http/tests/. For example, to run
+LayoutTests/http/tests/cachestorage/window-cache-add.html, navigate to:
+ http://localhost:8000/cachestorage/window/cache-add.html
dcheng 2017/02/25 00:06:24 I think this should be 127.0.0.1:8000, since some
qyearsley 2017/02/26 19:21:44 Done
+
+When using HTTPS, for example:
+ https://localhost:8443/https/verify-ssl-enabled.php
+you will may a certificate warning, which you need to bypass.
+"""
+
import webkitpy.common.version_check
from webkitpy.layout_tests.servers import cli_wrapper
from webkitpy.layout_tests.servers import apache_http
-cli_wrapper.main(apache_http.ApacheHTTP, additional_dirs={}, number_of_servers=4)
+cli_wrapper.main(apache_http.ApacheHTTP, additional_dirs={}, number_of_servers=4, description=__doc__)

Powered by Google App Engine
This is Rietveld 408576698