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:
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 635c700a6..c7b91a4a7 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