[webkit-changes] [WebKit/WebKit] 23f5c9: [WGSL] Add configuration and script to run wgslc t...

Tadeu Zagallo noreply at github.com
Mon May 15 01:18:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 23f5c9f7762a0dac590e519346eb8fbaccb1f5df
      https://github.com/WebKit/WebKit/commit/23f5c9f7762a0dac590e519346eb8fbaccb1f5df
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-05-15 (Mon, 15 May 2023)

  Changed paths:
    M Source/WebGPU/WGSL/tests/invalid/array.wgsl
    M Source/WebGPU/WGSL/tests/invalid/for.wgsl
    M Source/WebGPU/WGSL/tests/invalid/overload.wgsl
    M Source/WebGPU/WGSL/tests/invalid/vector.wgsl
    A Source/WebGPU/WGSL/tests/lit.cfg
    A Source/WebGPU/WGSL/tests/requirements.txt
    M Source/WebGPU/WGSL/tests/valid/concretization.wgsl
    M Source/WebGPU/WGSL/tests/valid/for.wgsl
    M Source/WebGPU/WGSL/tests/valid/if.wgsl
    M Source/WebGPU/WGSL/tests/valid/overload.wgsl
    M Source/WebGPU/WGSL/tests/valid/scope.wgsl
    A Tools/Scripts/run-wgslc-tests

  Log Message:
  -----------
  [WGSL] Add configuration and script to run wgslc tests
https://bugs.webkit.org/show_bug.cgi?id=256631
rdar://109195003

Reviewed by Dan Glastonbury.

We have been running the tests by hand, finally add some configuration and a helper
script to run all the tests using lit (https://llvm.org/docs/CommandGuide/lit.html)

* Source/WebGPU/WGSL/tests/invalid/array.wgsl:
* Source/WebGPU/WGSL/tests/invalid/for.wgsl:
* Source/WebGPU/WGSL/tests/invalid/overload.wgsl:
* Source/WebGPU/WGSL/tests/invalid/vector.wgsl:
* Source/WebGPU/WGSL/tests/lit.cfg: Added.
* Source/WebGPU/WGSL/tests/requirements.txt: Added.
* Source/WebGPU/WGSL/tests/valid/concretization.wgsl:
* Source/WebGPU/WGSL/tests/valid/for.wgsl:
* Source/WebGPU/WGSL/tests/valid/if.wgsl:
* Source/WebGPU/WGSL/tests/valid/overload.wgsl:
* Source/WebGPU/WGSL/tests/valid/scope.wgsl:
* Tools/Scripts/run-wgslc-tests: Added.

Canonical link: https://commits.webkit.org/264063@main




More information about the webkit-changes mailing list