mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-25 13:10:03 +00:00
450a551cf5
Compile all race-test binaries without execution only when source, graph, backend embeds or this admission path can affect Go. Preserve required check failures, docs/frontend-only skips and all full runtime/vet and frontend audit checks. Exercise inert and broken fixtures, diff classification and prerequisite propagation. Change-source: pulse-maintainer
13 lines
687 B
Bash
13 lines
687 B
Bash
#!/usr/bin/env bash
|
|
# Compile the same Linux race-test binaries as CI, without running package
|
|
# initialisers, TestMain, tests or examples. This is not a test verdict.
|
|
set -euo pipefail
|
|
|
|
echo 'Compiling all Go race-test binaries; no test binary will execute.'
|
|
# -exec replaces execution of each successfully linked binary. In contrast,
|
|
# -run '^$' alone still runs init and TestMain. Vet and real test execution
|
|
# remain in the existing required backend shards. Disable result caching so
|
|
# the output cannot be mistaken for a previously executed test result.
|
|
go test -race -vet=off -count=1 -exec /bin/true ./...
|
|
echo 'All Go race-test binaries compiled; runtime tests remain required.'
|