Skip to content

Make SPMTestSupport not require the command line tools (so it can be used for libSwiftPMDataModel) #3029

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

Conversation

abertelrud
Copy link
Contributor

Remove a dependency of the SPMTestSupport target on the Command target, which in turn depends on Build, etc. This lets the subset of unit tests that doesn't actually require the command line tools to still be used to test libSwiftPMDataModel.

The only real code change needed is to move two tests that are actually testing handling of command line arguments of the swift-build tool from BuildPlanTests to BuildToolTests. This is where it belonged anyway, architecturally, since it's testing command line arguments.

…t, which in turn depends on Build, etc. This lets the subset of unit tests that doesn't actually require the command line tools to still be used to test libSwiftPMDataModel.

The only real code change needed is to move two tests that are actually testing handling of command line arguments of the `swift-build` tool from BuildPlanTests to BuildToolTests.
@abertelrud
Copy link
Contributor Author

@swift-ci please smoke test

Copy link
Contributor

@tomerd tomerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants