Skip to content

ci,test: keep a spaced SANITIZE value one make argument end to end - #1223

Merged
DeusData merged 1 commit into
mainfrom
fix/win-arm-sanitize-arg-quoting
Jul 23, 2026
Merged

ci,test: keep a spaced SANITIZE value one make argument end to end#1223
DeusData merged 1 commit into
mainfrom
fix/win-arm-sanitize-arg-quoting

Conversation

@DeusData

Copy link
Copy Markdown
Owner

The windows-11-arm leg's first execution (broad matrix, release dry run) died before any test ran: the trap-UBSan SANITIZE value passed unquoted through the workflow ternary, so -fsanitize-trap=undefined arrived as its own word and make consumed the leading -f as its makefile flag.

  • The workflow quotes the ternary value so test.sh receives one argument.
  • test.sh forwards make arguments through an array instead of a re-split string, so a VAR=VAL whose value contains spaces survives every boundary (empty-array expansion kept bash-3.2-safe for the macOS runners under set -u).

Verified: argument-parse proof (argc=1 with the four-flag value) and a full macOS suite run through the changed plumbing — 6776 passed, 0 failed, identical totals. The windows-11-arm leg itself is broad-matrix-only; the follow-up release dry run after this merges is its validation.

The windows-11-arm leg's first execution (broad matrix, release dry
run) died before any test ran: the trap-UBSan SANITIZE value passed
unquoted through the workflow ternary, so -fsanitize-trap=undefined
arrived as its own word and make consumed the leading -f as its
makefile flag ('No rule to make target sanitize-trap=undefined').

- The workflow quotes the ternary value so test.sh receives one
  argument.
- test.sh forwards make arguments through an ARRAY instead of a
  re-split string, so a VAR=VAL whose value contains spaces survives
  every boundary (empty-array expansion kept bash-3.2-safe for the
  macOS runners under set -u).

Verified: argument-parse proof (argc=1 with the four-flag value) and a
full macOS suite run through the changed plumbing, 6776 passed,
0 failed — identical totals.

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
@DeusData
DeusData merged commit 5a5ed51 into main Jul 23, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant