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-3407] --without-tests doesn't work #5151

Closed
masters3d opened this issue Dec 13, 2016 · 5 comments
Closed

[SR-3407] --without-tests doesn't work #5151

masters3d opened this issue Dec 13, 2016 · 5 comments
Labels

Comments

@masters3d
Copy link
Contributor

Previous ID SR-3407
Radar None
Original Reporter @masters3d
Type Bug
Status Closed
Resolution Invalid
Environment

Xcode 8.1, Swift 3.0.1

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

md5: 0c292f683303705afc94dfbe807a9074

Issue Description:

swift build --without-tests
//error: unknown command: --without-tests

Listed flag in https://github.com/apple/swift-evolution/blob/master/proposals/0019-package-manager-testing.md doesn't work.

@ankitspd
Copy link
Member

The default behaviour for swift build is to build without tests so the flag is not needed

@masters3d
Copy link
Contributor Author

This is not true for objective-c packages.
https://bugs.swift.org/browse/SR-3408
swift build will try to build it

@masters3d
Copy link
Contributor Author

It would be great to leave the Test code in place in an objective-c package even though they are not supported.

@masters3d
Copy link
Contributor Author

new bug report
https://bugs.swift.org/browse/SR-3408

@ddunbar
Copy link
Member

ddunbar commented Dec 15, 2016

The swift-evolution proposals are part of the historical record, they shouldn't be used as a reference for how the tool behaves today because they were written at a different time.

For up to date syntax use `--help` or reference the active documentation as part of the GitHub project.

@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

3 participants