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
This commit is contained in:
parent
168e6b9b25
commit
7916b2d418
12 changed files with 552 additions and 144 deletions
|
|
@ -384,12 +384,19 @@ struct SocketControlSettings {
|
|||
"XCTestConfigurationFilePath",
|
||||
"XCTestBundlePath",
|
||||
"XCTestSessionIdentifier",
|
||||
"XCInjectBundle",
|
||||
"XCInjectBundleInto",
|
||||
]
|
||||
return indicators.contains { key in
|
||||
if indicators.contains(where: { key in
|
||||
guard let value = environment[key] else { return false }
|
||||
return !value.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty
|
||||
}) {
|
||||
return true
|
||||
}
|
||||
if environment["DYLD_INSERT_LIBRARIES"]?.contains("libXCTest") == true {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
static func socketPath(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue