Files
hakorune/tools
tomoaki d7c6df3675 refactor(smoke): Phase 284 P2 - LLVM harness exit code SSOT
**Problem**:
- phase284_p2_return_in_loop_llvm.sh used fallback: exit code OR output grep
- Inconsistent with exit code SSOT policy for LLVM harness tests
- Output pollution from harness logs makes grep unreliable

**Solution** (Task 1 - High Priority):
- Remove `|| echo "$OUTPUT" | grep -qE "(^7$|RC: 7$)"` fallback
- Pure exit code validation: `if [ "$EXIT_CODE" -eq 7 ]`
- OUTPUT kept for error debugging only (line 40)
- Align with phase285_p2 tests (already using exit code SSOT)

**Verification**:
-  phase284_p2_return_in_loop_llvm: PASS (exit 7)
-  phase285_p2_weak_upgrade_success_llvm: PASS (exit 2)
-  phase285_p2_weak_upgrade_fail_llvm: PASS (exit 1)
-  Quick profile: 154/154 PASS

**Impact**:
- 1 file changed, 5 lines modified
- More reliable LLVM test validation
- No regression in existing tests

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-26 17:25:25 +09:00
..