You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SR-7826 SwiftPM should warn if it skips traversing a symlink which would contain sources in it
Issue Description:
/tmp❯ mkdir test
/tmp❯ cd test
/tmp/test❯ swift package init
Creating library package: test
Creating Package.swift
Creating README.md
Creating .gitignore
Creating Sources/
Creating Sources/test/test.swift
Creating Tests/
Creating Tests/LinuxMain.swift
Creating Tests/testTests/
Creating Tests/testTests/testTests.swift
/tmp/test❯ ln -sfh /tmp/missing.swift Sources/test/test2.swift
/tmp/test❯ ln -sfh /tmp/missing.swift Tests/testTests/testTests2.swift
/tmp/test❯ swift build
Compile Swift Module 'test' (1 sources)
/tmp/test❯ swift test
Compile Swift Module 'testTests' (1 sources)
Linking ./.build/x86_64-apple-macosx10.10/debug/testPackageTests.xctest/Contents/MacOS/testPackageTests
Test Suite 'All tests' started at 2017-09-08 20:46:06.805
Test Suite 'testPackageTests.xctest' started at 2017-09-08 20:46:06.805
Test Suite 'testTests' started at 2017-09-08 20:46:06.805
Test Case '-[testTests.testTests testExample]' started.
Test Case '-[testTests.testTests testExample]' passed (2.563 seconds).
Test Suite 'testTests' passed at 2017-09-08 20:46:09.368.
Executed 1 test, with 0 failures (0 unexpected) in 2.563 (2.563) seconds
Test Suite 'testPackageTests.xctest' passed at 2017-09-08 20:46:09.368.
Executed 1 test, with 0 failures (0 unexpected) in 2.563 (2.563) seconds
Test Suite 'All tests' passed at 2017-09-08 20:46:09.368.
Executed 1 test, with 0 failures (0 unexpected) in 2.563 (2.563) seconds
There should be at least a warning if one of the source files is a link to something that doesn't exist.
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: 357a04b6a7139fbe1037172faee145fe
is duplicated by:
Issue Description:
/tmp❯ mkdir test
/tmp❯ cd test
/tmp/test❯ swift package init
Creating library package: test
Creating Package.swift
Creating README.md
Creating .gitignore
Creating Sources/
Creating Sources/test/test.swift
Creating Tests/
Creating Tests/LinuxMain.swift
Creating Tests/testTests/
Creating Tests/testTests/testTests.swift
/tmp/test❯ ln -sfh /tmp/missing.swift Sources/test/test2.swift
/tmp/test❯ ln -sfh /tmp/missing.swift Tests/testTests/testTests2.swift
/tmp/test❯ swift build
Compile Swift Module 'test' (1 sources)
/tmp/test❯ swift test
Compile Swift Module 'testTests' (1 sources)
Linking ./.build/x86_64-apple-macosx10.10/debug/testPackageTests.xctest/Contents/MacOS/testPackageTests
Test Suite 'All tests' started at 2017-09-08 20:46:06.805
Test Suite 'testPackageTests.xctest' started at 2017-09-08 20:46:06.805
Test Suite 'testTests' started at 2017-09-08 20:46:06.805
Test Case '-[testTests.testTests testExample]' started.
Test Case '-[testTests.testTests testExample]' passed (2.563 seconds).
Test Suite 'testTests' passed at 2017-09-08 20:46:09.368.
Executed 1 test, with 0 failures (0 unexpected) in 2.563 (2.563) seconds
Test Suite 'testPackageTests.xctest' passed at 2017-09-08 20:46:09.368.
Executed 1 test, with 0 failures (0 unexpected) in 2.563 (2.563) seconds
Test Suite 'All tests' passed at 2017-09-08 20:46:09.368.
Executed 1 test, with 0 failures (0 unexpected) in 2.563 (2.563) seconds
There should be at least a warning if one of the source files is a link to something that doesn't exist.
The text was updated successfully, but these errors were encountered: