Skip to content

Handle options for add_untested_idls - #10100

Merged
lukebjerring merged 1 commit into
web-platform-tests:masterfrom
lukebjerring:idlharness-untested-idl-options
Mar 22, 2018
Merged

lukebjerring merged 1 commit into
web-platform-tests:masterfrom
lukebjerring:idlharness-untested-idl-options

Conversation

@lukebjerring

@lukebjerring lukebjerring commented Mar 19, 2018 •

Copy link
Copy Markdown
Contributor

Currently, no way to import a subset of an IDL snippet as untested interfaces.

Note that the order of checking for should_skip needs to change for a case such as:
IDL:

interface A {}
interface B {}

let text = await fetch('interfaces/foo.idl').then(r => r.text());
idlArray.add_untested_idls(text, {only: ['A'] });
idlArray.add_idls(text, {only: ['B'] });

The add_idls encounters 'A' for a second time, and throws Duplicate identifier, in spite of the fact that it will be skipped.


This change is Reviewable

@ghost

ghost commented Mar 19, 2018 •

Copy link
Copy Markdown

Build PASSED

Started: 2018-03-22 15:09:37
Finished: 2018-03-22 15:15:19

View more information about this build on:

@foolip

foolip commented Mar 20, 2018

Copy link
Copy Markdown
Member

The new failures are surprising and are probably not due to the change itself, but can you take a look?

@lukebjerring

lukebjerring commented Mar 22, 2018 •

Copy link
Copy Markdown
Contributor Author

Those same failures seem unrelated and currently occur running tox tests under resources/test/ in master, so we'll have to fix them.

@foolip

foolip commented Mar 22, 2018

Copy link
Copy Markdown
Member

Hmm, this is weird, no failures from https://travis-ci.org/w3c/web-platform-tests/jobs/356918923.

@lukebjerring, I guess you're also seeing failures on master locally? Seems like we might have two different issues going on here, both a difference between local runs and Travis, and some actual change to the results as a consequence of this PR?

@foolip

foolip commented Mar 22, 2018

Copy link
Copy Markdown
Member

Just to make sure, I'll rebase this on top of the same commit as #10145 to confirm the new failure.

@foolip
foolip force-pushed the idlharness-untested-idl-options branch from 60c26a6 to 988503c Compare March 22, 2018 15:08
@foolip

foolip commented Mar 22, 2018

Copy link
Copy Markdown
Member

Well that's interesting, the problem was presumably on master but now fixed...

@lukebjerring, is that a satisfactory "explanation" of what's going on, or do you think we should dig deeper into what's going on before merging?

@lukebjerring

Copy link
Copy Markdown
Contributor Author

Well, we can conclude that this PR is not causing the breakage, but something fishy is going on with those test.

@lukebjerring
lukebjerring merged commit df2e803 into web-platform-tests:master Mar 22, 2018
@lukebjerring
lukebjerring deleted the idlharness-untested-idl-options branch March 22, 2018 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants