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-9558] Improve error message when test directory is missing #4882

Closed
swift-ci opened this issue Dec 21, 2018 · 1 comment
Closed

[SR-9558] Improve error message when test directory is missing #4882

swift-ci opened this issue Dec 21, 2018 · 1 comment
Labels

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-9558
Radar rdar://problem/47005174
Original Reporter chriseidhof (JIRA User)
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug, StarterBug
Assignee ssuuyyuu (JIRA)
Priority Medium

md5: c6b25bac6cedc76ede98f2e511518db3

Issue Description:

I added a test target to an existing SPM project. Running locally, everything worked, but in Docker, things stopped working. SPM said: "use the 'path' property in the Swift 4 manifest to set a custom target path". I added the path, and it still gave the same error message. It turned out that the problem wasn't Package.swift, but that I forgot to copy the "Tests" directory into my Docker image.

I imagine SPM could check if the path is specified but the directory doesn't exist, and then show a more appropriate message.

@ankitspd
Copy link
Member

#1944

@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