cmux/tests/test_ci_scheme_testaction_debug.sh
Lawrence Chen 7916b2d418
Fix Xcode Cloud UI tests by running TestAction in Debug (#672)
* Set cmux TestAction to Debug for UI tests

* Broaden XCTest detection for debug launch gate

* Fix AutomationSocketUITests launch hang in CI

* Stabilize CI Swift package resolution for test jobs

* Stabilize Xcode Cloud UI test focus and socket handling

* Add Xcode Cloud pre-xcodebuild submodule bootstrap

* Harden Xcode Cloud bonsplit bootstrap fallback
2026-02-28 01:48:49 -08:00

16 lines
450 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
SCHEME_FILE="GhosttyTabs.xcodeproj/xcshareddata/xcschemes/cmux.xcscheme"
if [ ! -f "$SCHEME_FILE" ]; then
echo "FAIL: Missing scheme file at $SCHEME_FILE" >&2
exit 1
fi
if ! grep -q '<TestAction buildConfiguration="Debug"' "$SCHEME_FILE"; then
echo "FAIL: cmux scheme TestAction must use Debug build configuration for UI test setup hooks" >&2
exit 1
fi
echo "PASS: cmux scheme TestAction uses Debug"