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-8459] --generate-linuxmain fails on test subclasses #4764

Closed
ankitspd opened this issue Aug 3, 2018 · 1 comment
Closed

[SR-8459] --generate-linuxmain fails on test subclasses #4764

ankitspd opened this issue Aug 3, 2018 · 1 comment
Labels

Comments

@ankitspd
Copy link
Member

ankitspd commented Aug 3, 2018

Previous ID SR-8459
Radar rdar://problem/42830245
Original Reporter @aciidb0mb3r
Type Bug
Status Resolved
Resolution Done

Attachment: Download

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug, StarterBug
Assignee JhonnyBillM (JIRA)
Priority Medium

md5: fe2ad20a2dee292956b819181e0699f6

Issue Description:

Running `swift test --generate-linuxmain` on the attached package leads to a XCTestManifest.swift file that doesn't compile on linux. This is because we generate `__allTests` computed property per test class and it is not possible to have properties with the same name in a class hierarchy. We should rename _allTests to _<class-name>Tests so we don't run into this problem.

@swift-ci
Copy link
Contributor

swift-ci commented Aug 4, 2018

Comment by Jhonny Bill Mena (JIRA)

#1722

@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
This issue was closed.
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