blob: 22a54c79bddb883485840c570f8a911f16439810 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Running the CTS on Deno
Since version 1.8, Deno experimentally implements the WebGPU API out of the box.
You can use the `./tools/deno` script to run the CTS in Deno. To do this you
will first need to install Deno: [stable](https://deno.land#installation), or
build the main branch from source
(`cargo install --git https://github.com/denoland/deno --bin deno`).
On macOS and recent Linux, you can just run `./tools/run_deno` as is. On Windows and
older Linux releases you will need to run
`deno run --unstable --allow-read --allow-write --allow-env ./tools/deno`.
## Usage
```
Usage:
tools/run_deno [OPTIONS...] QUERIES...
tools/run_deno 'unittests:*' 'webgpu:buffers,*'
Options:
--verbose Print result/log of every test as it runs.
--debug Include debug messages in logging.
--print-json Print the complete result JSON in the output.
--expectations Path to expectations file.
```
|