diff --git a/client/tests/test_character_creation_sprint28.gd b/client/tests/test_character_creation_sprint28.gd index 84930111c..cabda7dd8 100644 --- a/client/tests/test_character_creation_sprint28.gd +++ b/client/tests/test_character_creation_sprint28.gd @@ -26,6 +26,13 @@ func before_each() -> void: return _scene = packed.instantiate() as CharacterCreation add_child(_scene) + # Seed a valid bookmark/location so _on_start passes the disabled guard + # added in PR #134 (R2-Hoshe-1). Tests that verify the disabled state + # should explicitly clear these and call _update_start_btn_state(). + _scene._selected_bookmark_id = "test-bookmark" + _scene._selected_location_id = "test-location" + if _scene.has_method("_update_start_btn_state"): + _scene._update_start_btn_state() func after_each() -> void: diff --git a/tests/run-godot b/tests/run-godot index e09b91b26..b6713e382 100755 --- a/tests/run-godot +++ b/tests/run-godot @@ -22,10 +22,12 @@ set -euo pipefail # extending this cap — the cap is the point. TIMEOUT_SEC=300 -# Single well-known log path. Overwritten each run. No env var — worktrees -# would each want their own value and the indirection makes the hint -# line meaningless. Multiple concurrent runs are the caller's problem. -LOG_FILE="/tmp/sr-run-godot.log" +# Per-process log path. PID suffix prevents concurrent runs across worktrees +# from clobbering each other's logs and producing summary JSON that mixes +# counts from different suites (R2-Hoshe-2). The actual path is echoed back +# via the JSON "log" field and the stderr hint line, so callers don't need +# to predict it. +LOG_FILE="/tmp/sr-run-godot.$$.log" FILTER="" while [[ $# -gt 0 ]]; do