List CTS tests to run

This commit is contained in:
Dzmitry Malyshau 2021-09-13 17:54:42 -04:00 committed by Dzmitry Malyshau
parent 447d612f88
commit 60142b56da
2 changed files with 10 additions and 1 deletions

View File

@ -187,7 +187,13 @@ jobs:
run: cd wgpu && cargo build -p cts_runner
- name: run CTS
run: cd cts && ../wgpu/target/debug/cts_runner.exe ./tools/run_deno --verbose 'unittests:*'
shell: bash
run: >-
cd cts;
grep -v '^//' ../wgpu/cts_runner/test.lst | while IFS=$' \t\r\n' read test; do
echo "=== Running $test ===";
cargo run --manifest-path ../wgpu/cts_runner/Cargo.toml --frozen -- ./tools/run_deno --verbose "$test";
done
fmt:
name: Format

3
cts_runner/test.lst Normal file
View File

@ -0,0 +1,3 @@
unittests:*
webgpu:api,operation,compute,basic:*
//webgpu:api,validation,queue,copyToTexture,ImageBitmap:destination_texture,format:format="stencil8";*'