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

[SR-13946] Can't generate tests for Swift 5.0 on Linux: generate-linuxmain is deprecated and a no-op #4461

Open
glbrntt opened this issue Dec 9, 2020 · 1 comment
Labels

Comments

@glbrntt
Copy link
Contributor

glbrntt commented Dec 9, 2020

Previous ID SR-13946
Radar rdar://problem/72160848
Original Reporter @glbrntt
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: 08b7e06a218c7018cc6eae816f4b1730

Issue Description:

swift test --generate-linuxmain recently started emitting a warning that it is deprecated and it no longer generates the test manifests for Linux.

Deprecating it absolutely makes sense given that test discovery has been available on Linux since 5.1.

However, removing the functionality to generate the manifests is awkward for library maintainers who still support Swift 5.0 on Linux: our options at the moment (as far as I see) are to keep an old enough toolchain around just for generating manifests or switch to scripts which parse the test code to generate manifests; neither of which are great solutions.

Ideally the functionality would be restored (while keeping the deprecation warning) until the next major version of Swift.

@glbrntt
Copy link
Contributor Author

glbrntt commented Dec 9, 2020

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants