Skip to content

Get the CSS 3 Selectors testsuite included - #5302

Merged
gsnedders merged 13 commits into
web-platform-tests:masterfrom
gsnedders:built-selectors
Aug 24, 2018
Merged

gsnedders merged 13 commits into
web-platform-tests:masterfrom
gsnedders:built-selectors

Conversation

@gsnedders

@gsnedders gsnedders commented Mar 31, 2017 •

Copy link
Copy Markdown
Member

@wpt-pr-bot

Copy link
Copy Markdown
Collaborator

Notifying @fantasai, @tantek, and @therealglazou. (Learn how reviewing works.)

@gsnedders

Copy link
Copy Markdown
Member Author

This is failing CI because Travis doesn't have the XML::Parser Perl module.

@ghost

ghost commented Mar 31, 2017 •

Copy link
Copy Markdown

View the complete job log.

Firefox (nightly channel)

Testing web-platform-tests at revision 3afc9f2
Using browser at version BuildID 20170426100344; SourceStamp 0f5ba06c4c5959030a05cb852656d854065e2226
Starting 10 test iterations
No tests run.

@ghost

ghost commented Mar 31, 2017 •

Copy link
Copy Markdown

View the complete job log.

Chrome (unstable channel)

Testing web-platform-tests at revision 3afc9f2

@ghost

ghost commented Apr 26, 2017 •

Copy link
Copy Markdown

These tests are now available on w3c-test.org

@ghost

ghost commented Apr 26, 2017 •

Copy link
Copy Markdown

View the complete job log.

Lint

Passed

@foolip

foolip commented Oct 5, 2017

Copy link
Copy Markdown
Member

@gsnedders, is this still relevant?

@gsnedders

Copy link
Copy Markdown
Member Author

@foolip Yes. We should still make it possible to run the CSS 3 Selectors testsuite. I wonder if we should just get rid of the unbuilt files and the build system here? Probably. And we should probably convert them to reftests as part of this too.

@ghost

ghost commented Oct 22, 2017 •

Copy link
Copy Markdown

Build PASSED

Started: 2017-12-05 17:13:56
Finished: 2017-12-05 17:20:10

Failing Jobs

  • MicrosoftEdge:14.14393

View more information about this build on:

@gsnedders
gsnedders force-pushed the built-selectors branch 2 times, most recently from 115f433 to 4b46088 Compare October 22, 2017 22:18
@gsnedders gsnedders changed the title Get the CSS 3 Selectors testsuite built and included Get the CSS 3 Selectors testsuite included Oct 22, 2017
@gsnedders

gsnedders commented Oct 22, 2017 •

Copy link
Copy Markdown
Member Author

OK, this has totally redone the PR, and this now gets rid of the build system entirely, replacing all the tests with their built counterparts. It also adds references for 35% of the testsuite (using ~20 refs; we need 143 to cover the rest!).

To review, I suggest taking the big moves on trust (given those two commits each move hundreds of files), and reviewing the other commits (which do nice small atomic changes).

IMO this should now land. I'd recommend doing this as a merge and commit given it's a very clearly defined branch (and the relationship between them would be lost with a rebase).

@gsnedders

Copy link
Copy Markdown
Member Author

After this, there's only files which require individual refs and the following pairs of files which could share a ref:

css3-modsel-100.xml css3-modsel-100b.xml
css3-modsel-104.xml css3-modsel-104b.xml
css3-modsel-107.xml css3-modsel-107b.xml
css3-modsel-111.xml css3-modsel-111b.xml
css3-modsel-113.xml css3-modsel-113b.xml
css3-modsel-114.xml css3-modsel-114b.xml
css3-modsel-124.xml css3-modsel-124b.xml
css3-modsel-130.xml css3-modsel-130b.xml
css3-modsel-131.xml css3-modsel-131b.xml
css3-modsel-132.xml css3-modsel-132b.xml
css3-modsel-133.xml css3-modsel-133b.xml
css3-modsel-137.xml css3-modsel-137b.xml
css3-modsel-138.xml css3-modsel-138b.xml
css3-modsel-139.xml css3-modsel-139b.xml
css3-modsel-140.xml css3-modsel-140b.xml
css3-modsel-145a.xml css3-modsel-145b.xml
css3-modsel-146a.xml css3-modsel-146b.xml
css3-modsel-147a.xml css3-modsel-147b.xml
css3-modsel-14c.xml css3-modsel-14e.xml
css3-modsel-150.xml css3-modsel-153.xml
css3-modsel-166.xml css3-modsel-166a.xml
css3-modsel-167.xml css3-modsel-167a.xml
css3-modsel-174a.xml css3-modsel-174b.xml
css3-modsel-21b.xml css3-modsel-66b.xml
css3-modsel-23.xml css3-modsel-69.xml
css3-modsel-24.xml css3-modsel-68.xml
css3-modsel-39.xml css3-modsel-39b.xml
css3-modsel-39a.xml css3-modsel-39c.xml
css3-modsel-4.xml css3-modsel-83.xml
css3-modsel-41.xml css3-modsel-41a.xml
css3-modsel-42.xml css3-modsel-42a.xml
css3-modsel-46.xml css3-modsel-46b.xml
css3-modsel-52.xml css3-modsel-53.xml
css3-modsel-57.xml css3-modsel-57b.xml
css3-modsel-72.xml css3-modsel-72b.xml
css3-modsel-73.xml css3-modsel-73b.xml
css3-modsel-74.xml css3-modsel-74b.xml
css3-modsel-75.xml css3-modsel-75b.xml
css3-modsel-76.xml css3-modsel-76b.xml
css3-modsel-77.xml css3-modsel-77b.xml
css3-modsel-78.xml css3-modsel-78b.xml
css3-modsel-81.xml css3-modsel-81b.xml
css3-modsel-82.xml css3-modsel-82b.xml
css3-modsel-86.xml css3-modsel-89.xml
css3-modsel-88.xml css3-modsel-88b.xml
css3-modsel-91.xml css3-modsel-92.xml
css3-modsel-96.xml css3-modsel-96b.xml
css3-modsel-97.xml css3-modsel-97b.xml

@svgeesus

Copy link
Copy Markdown
Contributor

@gsnedders I see two conflicts,
css/.gitignore
update-built-tests.sh
can that be fixed?

I agree it would be good to have the built tests in WPT so they can be run automatically. I don't see how that affects the built tests though, for manual runs.

@svgeesus svgeesus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checking in the built tests looks like a fine thing to do, to me. It means the tests can be automatically run without depending on the build system.

@gsnedders
gsnedders merged commit 37a3218 into web-platform-tests:master Aug 24, 2018
@gsnedders
gsnedders deleted the built-selectors branch August 24, 2018 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants