Skip to content

Conversation

bkhouri
Copy link
Contributor

@bkhouri bkhouri commented Aug 18, 2025

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 configurations.

Depends on: #9013
Relates to: #8997
issue: rdar://157669245

@bkhouri bkhouri force-pushed the t/main/gh8997_rdar157669245_migrate_MiscellaneousTests_to_ST_and_augment branch 2 times, most recently from 984eb73 to 39ef641 Compare August 18, 2025 20:05
@bkhouri
Copy link
Contributor Author

bkhouri commented Aug 18, 2025

@swift-ci test

@bkhouri bkhouri force-pushed the t/main/gh8997_rdar157669245_migrate_MiscellaneousTests_to_ST_and_augment branch from 39ef641 to d08378d Compare August 20, 2025 18:54
@bkhouri bkhouri force-pushed the t/main/gh8997_rdar157669245_migrate_MiscellaneousTests_to_ST_and_augment branch 3 times, most recently from d35af32 to f94d37b Compare August 29, 2025 18:07
@bkhouri
Copy link
Contributor Author

bkhouri commented Aug 29, 2025

@swift-ci test self hosted

@bkhouri
Copy link
Contributor Author

bkhouri commented Sep 2, 2025

@swift-ci test self hosted windows

) throws -> [String] {
let suffix: String

#if os(Linux)
Copy link
Contributor

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.

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
@bkhouri bkhouri force-pushed the t/main/gh8997_rdar157669245_migrate_MiscellaneousTests_to_ST_and_augment branch from f94d37b to bf196a2 Compare September 3, 2025 18:57
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