Index: Tools/Scripts/webkitpy/thirdparty/wpt/README.chromium |
diff --git a/Tools/Scripts/webkitpy/thirdparty/wpt/README.chromium b/Tools/Scripts/webkitpy/thirdparty/wpt/README.chromium |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9f1cafe54331920ad224cc921b2663a3d78e8c56 |
--- /dev/null |
+++ b/Tools/Scripts/webkitpy/thirdparty/wpt/README.chromium |
@@ -0,0 +1,63 @@ |
+W3C Web Platform Tests in Blink Layout Tests |
+ |
+Design Doc: https://goo.gl/iXUaZd |
+ |
+This directory contains checked out and reduced code from web-platform-tests |
jsbell
2015/06/12 17:13:17
We should get jgraham (W3C) to review this doc at
burnik
2015/06/12 17:23:55
Agreed. That's why I explicitly state the HEADs at
|
+(https://github.com/w3c/web-platform-tests/) required to run WPT tests as part |
+of Blink Layout Tests. |
+ |
+For licensing, see README.chromium in parent directory |
+(Tools/Scripts/webkitpy/thirdparty/README.chromium). |
+ |
+Other files present in this directories are as follows: |
+ |
+wpt.config.json |
+=============== |
+The configuration file used when running WPTServe. Note that this file loads |
+after wpt/config.default.json and this configuration gets merged onto it. When |
+changing the ports (HTTP/S, WS/S), make sure to update the python code too. |
Dirk Pranke
2015/06/12 22:25:02
This is actually a file you wrote, right? Can we m
burnik
2015/06/15 10:35:10
I would actually like to keep it in thirdparty for
|
+ |
+checkout.sh |
+=========== |
+Run this script to delete the third party wpt directory (thirdparty/wpt/wpt) |
+and perform a fresh checkout of the web-platform-tests code. When rolling in new |
jsbell
2015/06/12 17:13:17
Can you rewrite this more imperatively, i.e. keep
burnik
2015/06/15 10:35:10
Done.
|
+versions of WPT support, use WPTHeads to adjust the HEAD positions before |
+running ./checkout.sh. The script will also delete everything not listed in |
+WPTWhiteList from the checked out directory. |
Dirk Pranke
2015/06/12 22:25:02
From what I can tell, we only actually need
the
burnik
2015/06/15 10:35:10
Actually, that's not all we need.
We need the wpt
|
+ |
+WPTHeads |
+======== |
+List of git commit-ish for the WPT repositories. File format is as follows: |
+First line: HEAD position for web-platform-tests. |
+Rest of lines: parent directory, submodule name, HEAD position for submodule. |
+The submodule checkout is performed in order when running ./checkout.sh. |
+ |
+WPTWhiteList |
+============ |
+The explicit list of files being kept, everything else not on this list is |
+deleted when running ./checkout.sh. Use this file to control what gets checked |
+in and try to keep the list as small as possible (use what you need). |
+ |
+** |
+ |
+Running web-platform tests with enabled WPTServe on a local machine |
+ |
+Starting run-webkit-tests with the --enable-wptserve flag will use the WPT |
+serve for tests which live in LayoutTests/imported/web-platform-tests. |
+ |
+WPTServe starts HTTP/S and WS/S servers as separate processes. |
+ |
+The content_shell used to run the tests will receive the URL of each test |
+(instead of a filename). The document root http://web-platform.test/ maps to |
+LayoutTests/imported/web-platform-tests. HTTPS tests are enabled by default. |
+ |
+Example run: |
+ |
+./Tools/Scripts/run-webkit-tests \ |
+ --debug \ |
+ --enable-wptserve \ |
+ --no-new-test-results \ |
+ imported/web-platform-tests |
+ |
+For setting up SSL, refer to Tools/Scripts/webkitpy/thirdparty/wpt/wpt/_certs |
+(which gets generated on the first run) and Web Platform Tests Documentation. |
jsbell
2015/06/12 17:13:17
Include URL of the WPT docs?
burnik
2015/06/12 17:23:54
When I find them, I'll make sure to add. So far, n
burnik
2015/06/15 10:35:10
I've rewritten this in the "Configuration" section
|