From d9bc158756b115705671f7f7d803e2a8a2d5f1fa Mon Sep 17 00:00:00 2001 From: DKChan <524912269@qq.com> Date: Tue, 3 Nov 2026 06:27:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D(CI=E7=BA=A2=E6=80=81=C2=B7?= =?UTF-8?q?=E9=80=80=E5=87=BA=E6=8C=82=E6=AD=BB=E6=94=B6=E7=BC=96):=20gold?= =?UTF-8?q?en=5Fbaseline=5Frefresh=E4=B8=8Erender=5Fgate=E4=BA=94=E5=A4=84?= =?UTF-8?q?=E7=AA=97=E5=8F=A3=E5=8C=96=E6=8E=A2=E9=92=88=E8=B0=83=E7=94=A8?= =?UTF-8?q?=E5=8A=A0--quit-after=203000=E2=80=94=E2=80=94macOS=E7=AA=97?= =?UTF-8?q?=E5=8F=A3=E5=8C=96quit(0)=E5=90=8E=E4=B8=BB=E5=BE=AA=E7=8E=AF?= =?UTF-8?q?=E4=B8=8D=E9=80=80=E5=87=BA(=E5=88=A4=E5=88=AB=E5=AE=9E?= =?UTF-8?q?=E9=AA=8Cdiag=5Frc=3D0=E5=AE=9E=E8=AF=81:=E6=9C=89quit-after?= =?UTF-8?q?=E5=8D=B3=E6=AD=A3=E5=B8=B8=E9=80=80=E5=87=BA,=E6=97=A0?= =?UTF-8?q?=E5=88=99124=E8=B6=85=E6=97=B6);=20=E5=88=A4=E6=8D=AE=E4=B8=8D?= =?UTF-8?q?=E5=8F=97=E5=BD=B1=E5=93=8D(=E7=AD=BE=E5=90=8D=E4=B8=B2+meta+?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E6=89=AB=E6=8F=8F=E4=B8=89=E9=97=B8=E4=BF=9D?= =?UTF-8?q?=E7=95=99,=E6=8E=A2=E9=92=88=E7=9C=9F=E5=A4=B1=E8=B4=A5quit(1)?= =?UTF-8?q?=E5=85=88=E4=BA=8E=E5=85=9C=E5=BA=95)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/golden_baseline_refresh.sh | 4 ++-- tools/render_gate.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/golden_baseline_refresh.sh b/tools/golden_baseline_refresh.sh index 8434c5d3..e74858bf 100755 --- a/tools/golden_baseline_refresh.sh +++ b/tools/golden_baseline_refresh.sh @@ -38,7 +38,7 @@ if [ "$MODE" = "menu" ]; then exit 1 fi done - gate_run_timeout 240 "$TMP/run.log" "$G" --path "$GAME_WIN" res://probe/shot_probe.tscn -- "$TMP/shots" + gate_run_timeout 240 "$TMP/run.log" "$G" --path "$GAME_WIN" --quit-after 3000 res://probe/shot_probe.tscn -- "$TMP/shots" st=$? grep -E "\[shot_probe\]" "$TMP/run.log" | tail -3 if [ "$st" -ne 0 ] || [ ! -s "$TMP/shots/shot_menu.png" ]; then @@ -63,7 +63,7 @@ for a in assets/fonts/ui_font_fusion_pixel_zh_hans.ttf \ fi done -gate_run_timeout 180 "$TMP/run.log" "$G" --path "$GAME_WIN" res://probe/board_shot_probe.tscn -- "$TMP/shots" +gate_run_timeout 180 "$TMP/run.log" "$G" --path "$GAME_WIN" --quit-after 3000 res://probe/board_shot_probe.tscn -- "$TMP/shots" st=$? grep -E "\[board_shot\]" "$TMP/run.log" | tail -6 if [ "$st" -ne 0 ] || [ ! -s "$TMP/shots/board_meta.json" ]; then diff --git a/tools/render_gate.sh b/tools/render_gate.sh index cf0d10fd..ec25691f 100755 --- a/tools/render_gate.sh +++ b/tools/render_gate.sh @@ -67,7 +67,7 @@ if [ "$pre" -gt 0 ]; then echo "[render_gate] 预清本闸残留 Godot×$pre"; k echo "======== shot_probe 七屏截图 → shot_checker A-D ========" SHOT="$TMP/shots" -gate_run_timeout 180 "$TMP/shot.log" "$G" --path "$GAME_WIN" res://probe/shot_probe.tscn -- "$SHOT" +gate_run_timeout 180 "$TMP/shot.log" "$G" --path "$GAME_WIN" --quit-after 3000 res://probe/shot_probe.tscn -- "$SHOT" st=$?; kill_orphans grep -E "\[shot_probe\]" "$TMP/shot.log" | tail -12 if [ "$st" -eq 124 ] || [ "$st" -eq 137 ]; then @@ -84,7 +84,7 @@ scan_log "shot_probe" "$TMP/shot.log" echo "======== fx_shot_probe 三时刻取证(Q7) ========" FX="$TMP/fxshots" -gate_run_timeout 180 "$TMP/fx.log" "$G" --path "$GAME_WIN" res://probe/fx_shot_probe.tscn -- "$FX" +gate_run_timeout 180 "$TMP/fx.log" "$G" --path "$GAME_WIN" --quit-after 3000 res://probe/fx_shot_probe.tscn -- "$FX" st=$?; kill_orphans grep -E "\[fx_shot_probe\]" "$TMP/fx.log" | tail -4 if [ "$st" -eq 124 ] || [ "$st" -eq 137 ]; then @@ -109,7 +109,7 @@ fx_evidence "fx_final.png" 1 echo "======== board_shot_probe L1-L3 取证(Q7) ========" BD="$TMP/boardshots" -gate_run_timeout 180 "$TMP/bd.log" "$G" --path "$GAME_WIN" res://probe/board_shot_probe.tscn -- "$BD" +gate_run_timeout 180 "$TMP/bd.log" "$G" --path "$GAME_WIN" --quit-after 3000 res://probe/board_shot_probe.tscn -- "$BD" st=$?; kill_orphans grep -E "\[board_shot\]" "$TMP/bd.log" | tail -6 if [ "$st" -eq 124 ] || [ "$st" -eq 137 ]; then