You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several cleanups and improvements planned:
Currently the testharness* files checked into the test harness directory are an out-of-date copy of the ones from upstream WPT, and are manually ignored by the import process. We should either delete them from the spec repo, or adjust test/build.py to not include them in the export.
Currently we are using the existing HTML wrappers, but since wasm is available in workers and doesn't actually require HTML, we should probably switch to exporting the tests as any.js instead. We are already using these for the JS and Web API tests.
As part of these, several things in that script could be cleaned up.
Based on the conversation in build.py doesn't build tests in subdirectories #1687 it seems that neither Mozilla nor Google are using the existing JS or HTML export capabilities (and I would be interested in hearing from @kmiller68 or @ddegazio whether/how WebKit is using them). If none of the JS engine vendors are using this script for importing core tests into their own workflows, then we can simplify test/build.py to only support the use case of exporting tests to WPT (and possibly for some sort of convenient standalone testing of those exports? Not sure if that would be useful or not).
Longer term we want to set up automatic export of tests from in-progress proposals too (marking them as "tentative"). I was imagining this would go via the testsuite repo, but it will be complicated by the fact that we also need updated spec interpreter or some other way to convert those tests to binary; so maybe we would need to go directly from proposal repos. Anyway, some way to get tests onto WPT before they go to phase 5 and get finally merged into the spec would be good.
The text was updated successfully, but these errors were encountered:
We've recently added automatic import of Wasm tests into the Web Platform Tests repo by using the HTML-wrapper output of the test/build.py script (see web-platform-tests/wpt#49277).
There are several cleanups and improvements planned:
Currently the
testharness*
files checked into the test harness directory are an out-of-date copy of the ones from upstream WPT, and are manually ignored by the import process. We should either delete them from the spec repo, or adjust test/build.py to not include them in the export.Currently we are using the existing HTML wrappers, but since wasm is available in workers and doesn't actually require HTML, we should probably switch to exporting the tests as any.js instead. We are already using these for the JS and Web API tests.
As part of these, several things in that script could be cleaned up.
Based on the conversation in build.py doesn't build tests in subdirectories #1687 it seems that neither Mozilla nor Google are using the existing JS or HTML export capabilities (and I would be interested in hearing from @kmiller68 or @ddegazio whether/how WebKit is using them). If none of the JS engine vendors are using this script for importing core tests into their own workflows, then we can simplify test/build.py to only support the use case of exporting tests to WPT (and possibly for some sort of convenient standalone testing of those exports? Not sure if that would be useful or not).
Longer term we want to set up automatic export of tests from in-progress proposals too (marking them as "tentative"). I was imagining this would go via the testsuite repo, but it will be complicated by the fact that we also need updated spec interpreter or some other way to convert those tests to binary; so maybe we would need to go directly from proposal repos. Anyway, some way to get tests onto WPT before they go to phase 5 and get finally merged into the spec would be good.
The text was updated successfully, but these errors were encountered: