Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid using temp_await in SwiftTestTool.swift #7016

Merged
merged 5 commits into from
Dec 12, 2023
Merged

Conversation

MaxDesiatov
Copy link
Contributor

Follow up to #7009, which provides the detailed motivation: we should avoid temp_await as it can lead to deadlocks when combined with Swift Concurrency.

Follow up to #7009, which provides the detailed motivation: we should avoid `temp_await` as it can lead to deadlocks when combined with Swift Concurrency.
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

1 similar comment
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov MaxDesiatov self-assigned this Oct 17, 2023
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov MaxDesiatov added the next waiting for next merge window label Oct 19, 2023
@grynspan
Copy link
Contributor

This probably needs tweaks with my recently-landed changes to add experimental swift-testing support.

@MaxDesiatov MaxDesiatov removed the next waiting for next merge window label Nov 28, 2023
…xd/async-swift-test

# Conflicts:
#	Sources/Commands/SwiftTestTool.swift
@MaxDesiatov MaxDesiatov requested a review from grynspan December 7, 2023 21:43
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov MaxDesiatov added the swift test Changes impacting `swift test` tool label Dec 7, 2023
@MaxDesiatov MaxDesiatov enabled auto-merge (squash) December 7, 2023 21:44
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov MaxDesiatov merged commit 759174d into main Dec 12, 2023
@MaxDesiatov MaxDesiatov deleted the maxd/async-swift-test branch December 12, 2023 17:25
MaxDesiatov added a commit that referenced this pull request Dec 13, 2023
MaxDesiatov added a commit that referenced this pull request Dec 13, 2023
Reverts #7016 to fix macOS CI regression:

```
duplicate symbol '_async_MainTu' in:
    /Users/ec2-user/jenkins/workspace/swift-package-manager-with-xcode-self-hosted-PR-osx/branch-main/swiftpm/.build/x86_64-apple-macosx/debug/swift_package.build/Entrypoint.swift.o
    /Users/ec2-user/jenkins/workspace/swift-package-manager-with-xcode-self-hosted-PR-osx/branch-main/swiftpm/.build/x86_64-apple-macosx/debug/swift_test.build/Entrypoint.swift.o
duplicate symbol '_async_Main' in:
    /Users/ec2-user/jenkins/workspace/swift-package-manager-with-xcode-self-hosted-PR-osx/branch-main/swiftpm/.build/x86_64-apple-macosx/debug/swift_package.build/Entrypoint.swift.o
    /Users/ec2-user/jenkins/workspace/swift-package-manager-with-xcode-self-hosted-PR-osx/branch-main/swiftpm/.build/x86_64-apple-macosx/debug/swift_test.build/Entrypoint.swift.o
ld: 2 duplicate symbols for architecture x86_64
```

This error was fixed in Swift 5.10, which is not available on CI yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
concurrency swift test Changes impacting `swift test` tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants