upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/testing.md
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-11-25 09:48:57 +0000
committerpotatoe0100 <11406278+potatoe0100@users.noreply.github.com>2026-11-25 21:31:41 +1030
commitca6101c50fd356d5c2bddbcd861a6d974d182030 (patch)
tree5af3508a27095283ac143ed392089264146df142 /docs/testing.md
parent5669184f15e6be5ca1fe676f27ca76f2598d163f (diff)
docs/testing: how to test someone else's pull request on Windows
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/testing.md')
-rw-r--r--docs/testing.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/testing.md b/docs/testing.md
index 1cdd24923..344f36514 100644
--- a/docs/testing.md
+++ b/docs/testing.md
@@ -62,6 +62,22 @@ problems testers have hit; the steps below link to them.
62A `FAIL` is worth reporting, not a reason to stop: check [Known problems](#known-problems) first, and say in the 62A `FAIL` is worth reporting, not a reason to stop: check [Known problems](#known-problems) first, and say in the
63record whether it matched a row there. 63record whether it matched a row there.
64 64
65### Testing someone else's pull request
66
67Once your GPU has a record, testing open pull requests on it helps more than a second record: review and testing
68are what most pull requests wait for. Pick one that changes the translator, the runtime or a GPU test, then:
69
70```powershell
71git fetch origin pull/<N>/head:pr-<N>
72git checkout pr-<N>
73powershell -ExecutionPolicy Bypass -File scripts\build_runtime.ps1 # always rebuild after switching
74python -I scripts\run_gpu_tests.py # add --filter <name> for the tests it touches
75```
76
77Run `main` the same way for comparison (`git checkout main`, rebuild, run). Then comment on the pull request with
78one line per mode, in the form `<GPU>, <driver>, Windows <build>: X of Y passed, K skipped, F failed (native);
79main at <commit>: ...`, plus any `FAIL` lines that differ from `main`.
80
65## What you need 81## What you need
66 82
67- **Python 3.11+.** `scripts/run_gpu_tests.py` needs at least 3.10. 83- **Python 3.11+.** `scripts/run_gpu_tests.py` needs at least 3.10.