INDEX: --in-place replaces -j1, not joins it (Soul)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
011dd3e5bf
commit
d5f247431a
1 changed files with 4 additions and 3 deletions
|
|
@ -46,15 +46,16 @@ the skill, and holds no Docker socket and no `ygg` ssh alias. So:
|
|||
The diff is taken at the workspace root and `--in-diff` paths match relative to
|
||||
it (see `tools/cargo-mutants.sh` header). A native run is a plain `cargo
|
||||
mutants`: no per-file filter stage, no confirm stage, no slots, no CPU or memory
|
||||
cap (set `CARGO_BUILD_JOBS`, and `-j1`; point `CARGO_TARGET_DIR` and `TMPDIR` at a disk with
|
||||
cap (set `CARGO_BUILD_JOBS`, and `-j1` unless `--in-place`; point `CARGO_TARGET_DIR` and `TMPDIR` at a disk with
|
||||
room, since cargo-mutants copies the tree to `TMPDIR` and a small run took 2.3 GB), and its survivors are not confirmed on
|
||||
the full suite. Run survivors again unfiltered before reporting them MISSED.
|
||||
|
||||
Learned on CultLib's Rust runtime (Libby, 38 mutants: 32 caught, 5 unviable, 1
|
||||
missed, 7 min):
|
||||
- Add `--in-place` when tests read files by the repo's original path (CultLib's
|
||||
vector tests): the copy-mode baseline fails (15 failures). `--in-place`
|
||||
conflicts with `-j`, so drop `-j1`; mutants then run one at a time.
|
||||
vector tests): the copy-mode baseline fails (15 failures). Replace `-j1` in
|
||||
the run command above with `--in-place`: cargo-mutants rejects the two
|
||||
together, so in-place runs are serial.
|
||||
- Offline resolution needs the lockfile's exact crate versions in the cargo
|
||||
registry (one checkout wanted `cc` 1.11.0, which was missing); fetch it
|
||||
first or the baseline fails before any mutant runs.
|
||||
|
|
|
|||
Loading…
Reference in a new issue