playreel/backend/tests/run_playreel_after_gate3.sh

24 lines
762 B
Bash
Executable File

#!/usr/bin/env bash
# Playreel 롱컷 — 게이트 ③ 승인 뒤, 게이트 ④(clip_confirm) 직전까지.
# 사용: tests/run_playreel_after_gate3.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 "⑦ tts" tests.playreel.test_tts "$goods_id"
run "⑧ bgm" tests.playreel.test_bgm "$goods_id"
run "⑨ i2v" tests.playreel.test_i2v "$goods_id"
cat <<EOF
══ 게이트 ④ clip_confirm ══
clip.mp4 제목 훼손 여부. regions 가 없어 자동 게이트가 안 돈다
i2v.json 크레딧·게이트 상태
다시 만들려면 clip.mp4 를 지운다.
다음: tests/run_playreel_after_gate4.sh $goods_id [variant]
EOF