playreel/backend/tests/run_playreel_after_gate2.sh

25 lines
936 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문장. 캐스팅 스케줄 문장은 빼면 안 된다
캐스트를 못 읽었으면 4번 문장이 안내 문구로 대체돼 있다
i2v_prompt.txt 확정된 i2v 프롬프트
승인 후 — 게이트 ④까지 간다
tests/run_playreel_after_gate3.sh "$goods_id"
EOF