Skip to content

[test] Put shared test projects INPUTS into bundle resources #115

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

Merged
merged 4 commits into from
Oct 1, 2020

Conversation

benlangmuir
Copy link
Contributor

This avoids depending on the absolute path to the INPUTS and allows looking it up at run time even if the tests have moved.

This required updating to tools version 5.3 to use resource support, and adding several "excludes" to the Package.swift for files that are not recognized by swiftpm.

This avoids depending on the absolute path to the INPUTS and allows
looking it up at run time even if the tests have moved.
This would have been much simpler with glob patterns to cover the common
cases:
    */CMakeLists.txt
    *.inc
    *.def
@benlangmuir benlangmuir requested a review from akyrtzi as a code owner October 1, 2020 18:17
@benlangmuir
Copy link
Contributor Author

swiftlang/sourcekit-lsp#322
@swift-ci please smoke test

@benlangmuir
Copy link
Contributor Author

swiftlang/sourcekit-lsp#322
@swift-ci please smoke test Linux

2 similar comments
@benlangmuir
Copy link
Contributor Author

swiftlang/sourcekit-lsp#322
@swift-ci please smoke test Linux

@benlangmuir
Copy link
Contributor Author

swiftlang/sourcekit-lsp#322
@swift-ci please smoke test Linux

@benlangmuir
Copy link
Contributor Author

swiftlang/sourcekit-lsp#322
@swift-ci please smoke test

@benlangmuir benlangmuir merged commit 3e06a39 into swiftlang:main Oct 1, 2020
@benlangmuir benlangmuir deleted the test-resources branch October 1, 2020 22:03
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.

2 participants