-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Tests: Migrate MiscellaneousTest to Swift Testing and augment #9039
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?
Tests: Migrate MiscellaneousTest to Swift Testing and augment #9039
Conversation
984eb73
to
39ef641
Compare
@swift-ci test |
39ef641
to
d08378d
Compare
d35af32
to
f94d37b
Compare
@swift-ci test self hosted |
@swift-ci test self hosted windows |
) throws -> [String] { | ||
let suffix: String | ||
|
||
#if os(Linux) |
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.
I know this is based on existing code, but you really want to avoid ifdefs in build system code as much as possible in order to avoid unintentionally breaking cross-compilation scenarios -- this depends on the build target, not the host OS. I'd suggest adding a helper method which deduces this suffix from the triple, then use that here.
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.
This is in the _InternalTestSupport
target, which should only be a test target dependency. As such, we can update this code when we add cross-compilation automated tests.
f94d37b
to
bf196a2
Compare
@swift-ci test self hosted |
bf196a2
to
578e6c9
Compare
@swift-ci test self hosted |
578e6c9
to
e25b3d2
Compare
@swift-ci test self hosted |
e25b3d2
to
dfe4db7
Compare
@swift-ci test self hosted |
@swift-ci test self hosted windows |
dfe4db7
to
69e2fce
Compare
@swift-ci test self hosted |
@swift-ci test windows self hosted |
69e2fce
to
28ad4c4
Compare
@swift-ci test self hosted |
28ad4c4
to
74edec8
Compare
@swift-ci test self hosted |
Migrate the `MiscellaneousTests` suite to Swift Testing and augment the test to run against both the Native and SwiftBuild build system, in addition to the `debug`` and `release` build configuration. Depends on: swiftlang#9013 Relates to: swiftlang#8997 issue: rdar://157669245
74edec8
to
0d25863
Compare
@swift-ci test self hosted |
Migrate the
MiscellaneousTests
suite to Swift Testing and augment the test to run against both the Native and SwiftBuild build system, in addition to thedebug
andrelease
build configurations.Depends on: #9013
Depends on: #9115
Depends on: #9224
Relates to: #8997
issue: rdar://157669245