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-8864] swift test --generate-linuxmain does not exclude ios #4891

Closed
swift-ci opened this issue Sep 26, 2018 · 1 comment
Closed

[SR-8864] swift test --generate-linuxmain does not exclude ios #4891

swift-ci opened this issue Sep 26, 2018 · 1 comment
Labels

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-8864
Radar None
Original Reporter rexmas (JIRA User)
Type Bug
Status Resolved
Resolution Done
Environment

iOS 12
MacOS 10.13.6

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: 00ad19052d8032f6d1340971cd2ef2d9

Issue Description:

1. execute

swift test --generate-linuxmain

2. open Tests/XCTestManifests.swift

3. see

#if !os(macOS)
public func __allTests() -> [XCTestCaseEntry] {
    return [
        testCase(MyProjTests.__allTests),
    ]
}
#endif

4. expect

#if !(os(macOS) || os(iOS))
public func __allTests() -> [XCTestCaseEntry] {
    return [
        testCase(MyProjTests.__allTests),
    ]
}
#endif
@ankitspd
Copy link
Member

Should be fixed by #1826

@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