build(justfile): anchor the fuzz recipe to one exact target
Test / test (push) Successful in 1m2s

Assisted-by: GLM 5.3
This commit is contained in:
petrbalvin committed 2026-10-07 15:00:28 +02:00
1 parent 63ed141522
commit 87493d9391
1 file changed
+3 -1
+3 -1
View File
@@ -77,8 +77,10 @@ unit pkgs=packages run=".*":
systemd-run --user --scope -p MemoryMax={{memlimit}} -p MemorySwapMax=0 go test -timeout 0 {{pkgs}} -run '{{run}}'
# Time-boxed fuzz of one target in one package. The package is required; never a gate.
# The target is anchored so an exact name matches one target: `FuzzParse` would
# otherwise select `FuzzParseExpand` beside it.
fuzz target pkg fuzztime="60s":
systemd-run --user --scope -p MemoryMax={{memlimit}} -p MemorySwapMax=0 go test -timeout 0 -run '^$' -fuzz '{{target}}' -fuzztime={{fuzztime}} -parallel={{fuzzparallel}} {{pkg}}
systemd-run --user --scope -p MemoryMax={{memlimit}} -p MemorySwapMax=0 go test -timeout 0 -run '^$' -fuzz '^{{target}}$' -fuzztime={{fuzztime}} -parallel={{fuzzparallel}} {{pkg}}
# The cmd/link GOOBJ parity gate, opt-in: it costs minutes no pipeline can afford.
link-parity: