test(mobile): report linked signer probe failures explicitly

Signed-off-by: Tom Brow <tomb@block.xyz>
This commit is contained in:
Tom Brow
2026-10-18 18:44:21 -07:00
parent 8e60b7608c
commit 05ceb11e1b
2 changed files with 13 additions and 0 deletions

View File

@@ -24,6 +24,10 @@ for ((attempt = 0; attempt < 90; attempt++)); do
xcrun simctl spawn "$device" log show --last 5m --style compact \
--predicate "processIdentifier == $probe_pid AND eventMessage CONTAINS \"SIGNING_PROBE\"" \
> "$fixture/probe.log" 2>/dev/null
if grep -q 'SIGNING_PROBE FAILED:' "$fixture/probe.log"; then
cat "$fixture/probe.log"
exit 1
fi
if grep -q 'SIGNING_PROBE COMPLETE' "$fixture/probe.log"; then
cat "$fixture/probe.log"
exit 0