fix(smoke): Phase 97 LLVM EXE filter debug logs from output

- Filter out debug log lines (starting with '[') before numeric extraction
- grep -v '^\[' excludes debug lines like [UnifiedBoxRegistry], [TRACE]
- Ensures clean numeric output extraction for test validation

Note: Test still fails due to functional bug (returns 0,0,0 instead of 2,-1,3)
This is a separate issue requiring investigation of LLVM backend loop handling

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
nyash-codex
2025-12-17 06:40:37 +09:00
parent 61c9d7929c
commit 43eda13b01

View File

@ -95,7 +95,7 @@ if [ "$EXIT_CODE" -ne 0 ]; then
exit 1
fi
CLEAN=$(printf "%s\n" "$OUTPUT" | grep -E '^-?[0-9]+$' | head -n 3 | tr -d '\r')
CLEAN=$(printf "%s\n" "$OUTPUT" | grep -v '^\[' | grep -E '^-?[0-9]+$' | head -n 3 | tr -d '\r')
EXPECTED=$'2\n-1\n3'
echo "[INFO] CLEAN output:"