test(verify): gate GOOBJ link parity with cmd/link

Assisted-by: GLM 5.3
This commit is contained in:
2026-10-02 00:40:54 +02:00
parent 17cc49fee4
commit dd1782c538
6 changed files with 562 additions and 0 deletions
+12
View File
@@ -119,6 +119,18 @@ jobs:
# regression names the gate that failed instead of hiding inside the suite.
run: go test -count=1 -timeout 10m -run 'TestGroundTruth' ./verify/...
- name: Install qemu-user
# The GOOBJ link regression runs the arm64 and riscv64 binaries it links
# under qemu-user; without the emulator those two degrade to link-only.
# The install is a no-op where it is already present.
run: dnf install -y qemu-user
- name: GOOBJ link parity
# The cmd/link parity gate: gasm objects substituted into a real go build
# must re-link on all four architectures, and the binaries must reproduce
# the toolchain baseline's output (native on amd64, qemu-user elsewhere).
run: go test -count=1 -timeout 10m -run 'TestGOOBJLinkRegression' ./verify/...
- name: Coverage floor
run: |
perl -e '