CTS integration with LayoutTests

Hello!

During today’s WebGPU call, there was a brief discussion about integrating the WebGPU CTS with browsers' LayoutTests. It would probably be valuable for this discussion to be archived, so I thought I’d start this thread about it.

I believe there are 2 general approaches one could take with integrating WebGPU’s CTS:
1. Integrate the repo as it stands, and teach the browsers’ test runners how to compile TypeScript (and potentially where to find necessary dependencies), etc.
2. All browsers’ can run Web Platform Tests, and (I believe) there is/will be a periodic export of the precompiled packaged CTS into WPT. Browsers could import these prepackaged dumps.

Kai mentioned he had experience with this and could comment; are there any recommendations about how to proceed?

Thanks,
Myles

Received on Thursday, 3 March 2022 03:50:46 UTC