[webkit-dev] Importing web-platform-tests

youenn fablet youennf at gmail.com
Wed Oct 21 05:35:09 PDT 2015


Hi all,

I saw that the number of imported WPT tests is growing :)
Here is some information that might be useful if you are planning to import
some tests.

For importing new tests, one can:
- Update LayoutTests/imported/w3c/resources/ImportExpectations to activate
the import of selected tests
- Run "Tools/Scripts/import-w3c-tests" as is, or
"Tools/Scripts/import-w3c-tests -t web-platform-tests/XXselected-testsXX"
to have a faster import
- Run rwt to generate the new expectations on
LayoutTests/imported/w3c/web-platform-tests/XXselected-testsXX

Tools/Scripts/import-w3c-tests might display in the console a list of files
that should be added as [ Skip ] in LayoutTests/TestExpectations. Reason is
that these files are not tests but are used by tests and are not in any
"resources" folder.

Tools/Scripts/import-w3c-tests is importing tests directly from W3C github
repo. It uses a specific revision, defined in
LayoutTests/imported/w3c/resources/TestRepositories.


More information about the webkit-dev mailing list