diff options
| author | sanchaton <138723000+sanchaton@users.noreply.github.com> | 2026-11-23 17:05:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-23 10:05:36 -0600 |
| commit | ee93d8ce2a37ca1a5b32e72cd8b25e699a6d860c (patch) | |
| tree | 3b3560aa491f11b426145019458d22a26619135b /docs | |
| parent | d510dce18ef18331cb4f7af3378123beec6a0ffd (diff) | |
run_gpu_tests, rdna2spirv: support --assembler python, --no-validate, and --disasm-dir (#6676)
Squash-merged after diff review of PR #6676 - run_gpu_tests, rdna2spirv: support --assembler python, --no-validate, and --disasm-dir
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/testing.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/testing.md b/docs/testing.md index 8bb203ebd..64b42bd77 100644 --- a/docs/testing.md +++ b/docs/testing.md | |||
| @@ -100,6 +100,14 @@ Actions -> Runtime, and check out the commit it built, or start a run of the com | |||
| 100 | python -I scripts/run_gpu_tests.py --build <unzipped runtime-windows> | 100 | python -I scripts/run_gpu_tests.py --build <unzipped runtime-windows> |
| 101 | ``` | 101 | ``` |
| 102 | 102 | ||
| 103 | If you also have neither `llvm-mc` nor SPIRV-Tools (`spirv-as` / `spirv-val`) installed, `--disasm-dir` runs the | ||
| 104 | pre-disassembled subset in `tests/semantic/fixtures/disasm` and `--assembler python` (the default under `auto` when | ||
| 105 | `spirv-as` is absent) assembles SPIR-V with `tools/spirv_asm.py`: | ||
| 106 | |||
| 107 | ```sh | ||
| 108 | python -I scripts/run_gpu_tests.py --build <unzipped runtime-windows> --disasm-dir tests/semantic/fixtures/disasm --assembler python | ||
| 109 | ``` | ||
| 110 | |||
| 103 | `build.py` and `check.py` take the same folder as their second argument: | 111 | `build.py` and `check.py` take the same folder as their second argument: |
| 104 | 112 | ||
| 105 | ```sh | 113 | ```sh |