Re: [webkit-dev] Importing web-platform-tests

2015-10-21 Thread Darin Adler
There’s enough here that I think we should probably make a webpage or wiki page 
covering this.

— Darin
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] Importing web-platform-tests

2015-10-21 Thread youenn fablet
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.
>From time to time, this revision should be changed to the latest WPT
revision.
The tooling to do the resynchronization is not totally ready yet.

The number of manual edits done when importing the tests should be as
limited as possible. Ideally there should be no manual edit.
If possible, it would be good to document them in some ways (directly in
the tests e.g.) so that resynchronizing the tests later on is made as easy
as possible.

I resynchronized all WPT tests today.
Please let me know if this creates any issue.
If you encounter an issue with Tools/Scripts/import-w3c-tests, please let
me know as well.

Thanks,
Youenn
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev