Files
llm-intelligence/scripts/verify_pre_phase6.sh

38 lines
600 B
Bash
Raw Normal View History

#!/bin/bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
phases=(
"verify_phase1.sh"
"verify_phase2.sh"
"verify_phase3.sh"
"verify_phase4.sh"
"verify_phase5.sh"
)
overall=0
echo "=== Pre-Phase 6 总验收 ==="
for phase in "${phases[@]}"; do
echo
echo ">>> 执行 ${phase}"
if bash "$SCRIPT_DIR/$phase"; then
echo ">>> ${phase} PASS"
else
echo ">>> ${phase} FAIL"
overall=1
fi
done
echo
if [ "$overall" -eq 0 ]; then
echo "PRE_PHASE6_RESULT: PASS"
else
echo "PRE_PHASE6_RESULT: FAIL"
fi
exit "$overall"