playreel/backend/tests/run_playreel_after_gate2.sh

22 lines
749 B
Bash
Executable File

#!/usr/bin/env bash
# Playreel 롱컷 — 게이트 ② 승인 뒤, 게이트 ③(narration_confirm) 직전까지.
# 사용: tests/run_playreel_after_gate2.sh <goods_id> [모션키,쉼표구분]
set -euo pipefail
cd "$(dirname "$0")/.."
goods_id="${1:?사용: $0 <goods_id> [모션키,쉼표구분]}"
run() { echo; echo "── $1 ──"; shift; uv run python -m "$@"; }
run "⑤ motion" tests.playreel.test_motion "$goods_id" ${2+"$2"}
run "⑥ narration" tests.playreel.test_narration_slots "$goods_id"
cat <<EOF
══ 게이트 ③ narration_confirm ══
narration.json 7문장. 캐스팅 스케줄 문장은 빼면 안 된다
i2v_prompt.txt 확정된 i2v 프롬프트
다음: tests/run_playreel_after_gate3.sh $goods_id
EOF