Closed ErichDonGubler closed 1 week ago
@kainino0x suggested in a DM conversation with me that that it would be clearer to make a uniform change of file extension across all testing targets.
Bug experience report: Mozilla has run into this in CI, and worked around this by marking these unintended test specs. as disabled: true
in a __dir__.ini
WPT metadata entry.
This appears to not actually be solved yet; npm run wpt
now generates *.as_worker.js
tests in addition to (rather than instead of) the originally offending *.worker.js
tests. 🤔
That's surprising as I don't see any *.worker.js
in the build output at https://github.com/gpuweb/cts/tree/gh-pages/out-wpt/webgpu/webworker
Could you check that your build directory is getting wiped before build? Otherwise the old files could still be leftover.
I was able to reproduce this on one of my machines for some time, but after updating to latest main
and very forcibly using git clean -xdf
, I believe I was running into local issues. Sorry for the noise!
*.worker.js
files are included inout-wpt/
output generated bynpm run wpt
. This file extension appears to have been settled on in isolation from consideration of WPT tests, which actually treat*.worker.js
files as a form of test specification (see WPT upstream docs' section titled "Dedicated worker tests (.worker.js
)".We need to move away from this file extension for worker tests that aren't intended to be run in WPT.