Skip to content

Create a script for updating WebGPU CTS #27508

Closed

Description

@jdm

#27402 included separate commits to import the testsuite. We should automate the steps that will need to be repeated in the future in a python script.

Activity

  1. jdm commented on Sep 2, 2020

    @jdm
    MemberAuthor

    @kunalmohan Could you document the manual steps you take to update the CTS?

  2. kunalmohan commented on Sep 2, 2020

    @kunalmohan
    Contributor

    Steps to update WebGPU CTS-

    1. Generate the tests from the main branch in https://github.com/gpuweb/cts (Steps mentions in the README).
    2. Copy all the contents of the out-wpt/ directory to https://github.com/servo/servo/tree/master/tests/wpt/webgpu/tests/webgpu.
    3. Make the following change to the cts.html file-
    -<script type=module src=/webgpu/common/runtime/wpt.js></script>
    +<script type=module src=../webgpu/common/runtime/wpt.js></script>

    (And optionally comment out any tests that may give unexpected tests results on different backends)
    4. Run ./mach update-manifest.
    5. Update test expectations.

  3. added a commit that references this issue on Jun 2, 2023
    23a3835
  4. moved this to Done in WebGPUon Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-infrastructureL-python

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions