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:
@ -95,7 +95,7 @@ if [ "$EXIT_CODE" -ne 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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'
|
EXPECTED=$'2\n-1\n3'
|
||||||
|
|
||||||
echo "[INFO] CLEAN output:"
|
echo "[INFO] CLEAN output:"
|
||||||
|
|||||||
Reference in New Issue
Block a user