Skip to content

Commit 04b7dc2

Browse files
committed
probe: drive xlings directly to see whether the 127 is its own
mcpp returns the xlings child's exit code on this path and swallows its stderr, and the pinned xlings differs sharply across the versions under comparison (0.0.102 -> 0.4.51, 0.0.104+ -> 0.4.68/0.4.69) — which makes xlings, not mcpp, the thing this run needs to rule in or out.
1 parent c40fc71 commit 04b7dc2

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/validate.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,18 @@ jobs:
369369
"$MCPP" test -p tests/examples/ffmpeg || rc=$?
370370
echo "=== ffmpeg member exit status: $rc ==="
371371
echo "=== free space after ==="; df -h . || true
372+
# mcpp returns the xlings child's exit code, so 127 may well be
373+
# xlings'. Drive xlings directly on the same package and show what it
374+
# says — mcpp swallows the child's stderr on this path.
375+
echo "=== locating xlings ==="
376+
XL=$(find . "$HOME" -name 'xlings.exe' -path '*registry/bin*' 2>/dev/null | head -1)
377+
echo "xlings: $XL"
378+
if [ -n "$XL" ]; then
379+
"$XL" --version || true
380+
xrc=0
381+
"$XL" install "compat:ffmpeg@8.1.2" -y || xrc=$?
382+
echo "=== xlings direct exit status: $xrc ==="
383+
fi
372384
exit $rc
373385
# No `timeout` wrapper: absent on macOS runners; job-level timeout-minutes bounds it.
374386
if [ "$MEMBERS" = "__ALL__" ]; then

0 commit comments

Comments
 (0)