test(multiplayer): detect macOS Godot bundle

This commit is contained in:
Josh Creek
2026-09-01 17:13:18 +01:00
parent 0787702f23
commit 98ff2aed81
2 changed files with 11 additions and 1 deletions
+2
View File
@@ -1450,3 +1450,5 @@ The control plane now exports bounded Prometheus-compatible API request counters
The three declared domain fuzz targets have now each completed a bounded 4-second run (`FuzzQueueCreateDoesNotPanic`, `FuzzResultDigestIsDeterministic`, and `FuzzSyncEventApplicationDoesNotPanic`) with no failures; this closes the locally runnable fuzz portion of 8.46. Live Redis failover, further transaction races, and cloud/runtime gates remain explicitly unverified.
The real ENet integration gate now passes with `GODOT_BIN=/Applications/Godot.app/Contents/MacOS/Godot bash scripts/verify_enet_integration.sh`, covering the `net`, `match-net`, `clock`, `lobby`, and `networked match` process scenarios. The default `GODOT_BIN` remains the portable `godot` PATH lookup for CI; this machine requires the explicit app-bundle path.
The ENet gate now auto-detects `/Applications/Godot.app/Contents/MacOS/Godot` when no PATH executable or `GODOT_BIN` override exists, while retaining explicit override precedence. The same gate passes without an environment override on this macOS host.
+9 -1
View File
@@ -4,7 +4,15 @@ set -euo pipefail
root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$root_dir"
godot_bin="${GODOT_BIN:-godot}"
if [[ -n "${GODOT_BIN:-}" ]]; then
godot_bin="$GODOT_BIN"
elif command -v godot >/dev/null 2>&1; then
godot_bin="$(command -v godot)"
elif [[ -x "/Applications/Godot.app/Contents/MacOS/Godot" ]]; then
godot_bin="/Applications/Godot.app/Contents/MacOS/Godot"
else
godot_bin="godot"
fi
logs_dir="$(mktemp -d "${TMPDIR:-/tmp}/cosmic-clash-enet.XXXXXX")"
pids=()
# Comma-separated selection for local debugging; CI leaves this unset and