WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
152486
Make it straightforward to start the Web Platform Tests HTTP server using run-webkit-httpd
https://bugs.webkit.org/show_bug.cgi?id=152486
Summary
Make it straightforward to start the Web Platform Tests HTTP server using run...
Daniel Bates
Reported
2015-12-21 12:18:35 PST
In order to run a test in LayoutTests/imported/w3c/web-platform-tests outside of run-webkit-tests you need to follow the instructions in <
http://trac.webkit.org/browser/trunk/LayoutTests/imported/w3c/web-platform-tests/README.md?rev=191043
> to start the Web Platform Tests HTTP server. Although these instructions are straightforward it is less convenient to start the Web Platform Tests HTTP server than it is to run script run-webkit-httpd to start a HTTP server to serve the HTTP tests in LayoutTests/http/tests/. We should consider teaching run-webkit-httpd to start the Web Platform Tests server. For completeness, run-webkit-tests knows how to start the Web Platform Tests HTTP server as part of its logic to run the Web Platform Tests. We should look to start up the Web Platform Tests in a similar manner as run-webkit-tests or, even better, look to have run-webkit-tests use run-webkit-httpd to start up all HTTP servers.
Attachments
Patch
(3.71 KB, patch)
2016-07-02 08:05 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
youenn fablet
Comment 1
2015-12-22 08:54:41 PST
Note that the wpt submodules are not checked in WebKit repository. The README.md instructions will be successful only when these submodules are present. Tools/Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py may be more appropriate. It first installs (if not already done previously) these submodules (which description is found in LayoutTests/imported/w3c/resources/web-platform-tests-modules.json) on the local file system. It then starts the wpt server using a specific configuration (stored in LayoutTests/imported/w3c/resources/config.json).
youenn fablet
Comment 2
2016-07-02 08:05:06 PDT
Created
attachment 282641
[details]
Patch
youenn fablet
Comment 3
2016-07-02 08:08:26 PDT
(In reply to
comment #2
)
> Created
attachment 282641
[details]
> Patch
This patch updates run-webkit-httpd to start or not web-platform-tests server in addition to httpd. I guess the run-webkit-httpd should be renamed.
WebKit Commit Bot
Comment 4
2016-07-02 10:46:25 PDT
Comment on
attachment 282641
[details]
Patch Clearing flags on attachment: 282641 Committed
r202780
: <
http://trac.webkit.org/changeset/202780
>
WebKit Commit Bot
Comment 5
2016-07-02 10:46:29 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug