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-11779] Error message for missing source files says files should be under 'Sources/Target' for test target #4650

Open
mdiep opened this issue Nov 13, 2019 · 1 comment
Labels

Comments

@mdiep
Copy link
Contributor

mdiep commented Nov 13, 2019

Previous ID SR-11779
Radar rdar://problem/57163410
Original Reporter @mdiep
Type Bug
Environment

Apple Swift version 5.1.2 (swiftlang-1100.0.278 clang-1100.0.33.9)
Target: x86_64-apple-darwin19.0.0

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

md5: 4594355ffd7eb5c52db9c06ca4a692c5

Issue Description:

» mkdir TestPM
» cd TestPM
» swift package init
» rm -rf Tests/TestPMTests
» swift build
'TestPM' TestPM: error: Source files for target TestPMTests should be located under 'Sources/TestPMTests', or a custom sources path can be set with the 'path' property in Package.swift

That error says the files should be under Sources/TestPMTests, but they should actually be under Tests/TestPMTests.

@ankitspd
Copy link
Member

@swift-ci create

@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
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