-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Test: Merge IntegrationTests into Tests #8223
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
base: main
Are you sure you want to change the base?
Test: Merge IntegrationTests into Tests #8223
Conversation
38c52f7
to
6132396
Compare
6132396
to
65725d0
Compare
65725d0
to
38aa16d
Compare
@swift-ci please test |
38aa16d
to
3dad0aa
Compare
@swift-ci please test |
@Suite | ||
private struct BasicTests { | ||
@Test( | ||
.disabled("The `swift` command line is not a swift package manager executable target"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: should we simple delete this test?
@@ -94,6 +104,7 @@ private struct BasicTests { | |||
} | |||
|
|||
@Test( | |||
.disabled("The `swiftc` command line is not a swift package manager executable target"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: Should we re-work this test so it does not rely on swiftc
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
chore (blocking): This file is not used and should be removed.
|
||
public let swiftBuild: AbsolutePath = swiftpmBinaryDirectory.appending(component: "swift-build") | ||
// public let swiftpmBinaryDirectory: AbsolutePath = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
chore (blocking): remove lie 111 to 127. They should be replaced with the executeSwift*
functions.
@swift-ci please test self hosted windows |
@swift-ci please test windows |
Until swiftlang#8223 is fixed copy some helpers from `IntergrationTests/Source/IntegrationTests` to `Test/_InternalTestSupport` so we can re-use the functionality. Related to: swiftlang#8433 rdar://148248105 (cherry picked from commit e303b89)
Until swiftlang#8223 is fixed copy some helpers from `IntergrationTests/Source/IntegrationTests` to `Test/_InternalTestSupport` so we can re-use the functionality. Also, to workaround a Build preset issue, add a dependency on Swift Testing when we are building using local dependencies. Related to: swiftlang#8433 rdar://148248105
Until swiftlang#8223 is fixed copy some helpers from `IntergrationTests/Source/IntegrationTests` to `Test/_InternalTestSupport` so we can re-use the functionality. Related to: swiftlang#8433 rdar://148248105 (cherry picked from commit e303b89)
Until swiftlang#8223 is fixed copy some helpers from `IntergrationTests/Source/IntegrationTests` to `Test/_InternalTestSupport` so we can re-use the functionality. Also, to workaround a Build preset issue, add a dependency on Swift Testing when we are building using local dependencies. Related to: swiftlang#8433 rdar://148248105
Until swiftlang#8223 is fixed copy some helpers from `IntergrationTests/Source/IntegrationTests` to `Test/_InternalTestSupport` so we can re-use the functionality. Related to: swiftlang#8433 rdar://148248105
Until swiftlang#8223 is fixed copy some helpers from `IntergrationTests/Source/IntegrationTests` to `Test/_InternalTestSupport` so we can re-use the functionality. Related to: swiftlang#8433 rdar://148248105
f927311
to
845e74b
Compare
@swift-ci test |
845e74b
to
a736367
Compare
@swift-ci test |
Until swiftlang#8223 is fixed copy some helpers from `IntergrationTests/Source/IntegrationTests` to `Test/_InternalTestSupport` so we can re-use the functionality. Related to: swiftlang#8433 rdar://148248105
a736367
to
9253e52
Compare
9253e52
to
b02b187
Compare
Until swiftlang#8223 is fixed copy some helpers from `IntergrationTests/Source/IntegrationTests` to `Test/_InternalTestSupport` so we can re-use the functionality. Related to: swiftlang#8433 rdar://148248105
Until #8223 is fixed copy some helpers from `IntergrationTests/Source/IntegrationTests` to `Test/_InternalTestSupport` so we can re-use the functionality. Related to: #8433 rdar://148248105 Depends on: swiftlang/swift#81401
When SwiftPM exeuctes tests using the native build system, the bundle path was failing on MacOS as the `Bundle.allBundles` did not contain the `.xctest` bundle. If we fail to find the .xctest bundle, we inspect the command line argument for the `--test-bundle-path` argument and contruct the macOS bundle root based on the argument value. In addition, convert the StaticBinaryLibraryTests to Swift Testing to validate the logic works.
Consolidate all the tests into a single folders. This change only moves the IntegrationTests/Sources and IntegrationTests/Tests to their respective directory. A subsequent change will find better homes for the tests under Tests/IntegrationTests.
… env var to have IntegrationTets pass
b02b187
to
6898ac6
Compare
Pull request was converted to draft
Consolidate all the tests into a single folders. This change only moves the IntegrationTests/Sources and IntegrationTests/Tests to their respective directory.
A subsequent change will find better homes for the tests under Tests/IntegrationTests.
Depends on: swiftlang/swift#81217
Depends on: #8685