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:
authorNotRexed <therealnothingfn@gmail.com>2026-12-01 09:49:26 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-12-01 09:49:26 -0500
commit43c7b343a42bc4ebcee77eebedacfe93143b0b9b (patch)
tree6c14e289d864e1578c6b0a20ad8e35909369e670 /docs/testing.md
parent955e7d9cf259aaac3ee198bf8bfe0c568eb8c629 (diff)
parentcd0c52fcf4cfebedabb936b2524ae43d9155314b (diff)
Merge remote-tracking branch 'origin/main' into push/main-1130
Diffstat (limited to 'docs/testing.md')
-rw-r--r--docs/testing.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/testing.md b/docs/testing.md
index ec629ccb3..abfd277cd 100644
--- a/docs/testing.md
+++ b/docs/testing.md
@@ -150,8 +150,11 @@ python -I scripts/red_green.py <pull request number>
150 target dir takes several GB; delete the folder (and run `git worktree prune`) when done. 150 target dir takes several GB; delete the folder (and run `git worktree prune`) when done.
151- It prints the tests that go from red to green, those that pass on red and fail on green, those that fail on both 151- It prints the tests that go from red to green, those that pass on red and fail on green, those that fail on both
152 (failing on `main` too), and those found on one side only. The verdict is one of: `red then green` (exit 0), 152 (failing on `main` too), and those found on one side only. The verdict is one of: `red then green` (exit 0),
153 `no red`, `red does not build`, `green fails`, `red not constructible`, `green not constructible`, `no tests ran` 153 `no red`, `red does not build`, `green fails`, `red not constructible`, `green not constructible`, `no tests ran`,
154 (exit 1). `--json` prints all of it. 154 `compiler crashed` (exit 1). `--json` prints all of it.
155- A crashed compiler is not a build error: rustc or a build script ending with a Windows crash status (such as
156 0xC0000005, an access violation), an internal compiler error, or a failed allocation. That side builds again once,
157 and the report says so; a second crash gives `compiler crashed`. Run it again later, or on another machine.
155- `red does not build` is the case the fork-CI steps above call "does not build without the pull request's new 158- `red does not build` is the case the fork-CI steps above call "does not build without the pull request's new
156 file": the test needs the new code, which does not show that it catches the bug. 159 file": the test needs the new code, which does not show that it catches the bug.
157- `--crate <name>` adds a crate, `--no-cargo` or `--no-python` leaves one kind out, `--base <ref>` tests on another 160- `--crate <name>` adds a crate, `--no-cargo` or `--no-python` leaves one kind out, `--base <ref>` tests on another