Skip to content

Tests: Migrate PackageCommandTests to Swift Testing and Augment #9012

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bkhouri
Copy link
Contributor

@bkhouri bkhouri commented Aug 11, 2025

Migrate the PackageCommandTests to Swift Testing and augment the suite to run against the Native and SwiftBuild build system, in addition to the debug and release build configurations.

Relates to: #8997
issue: rdar://157669245

@bkhouri
Copy link
Contributor Author

bkhouri commented Aug 11, 2025

@swift-ci test

bkhouri added a commit to bkhouri/swift-package-manager that referenced this pull request Aug 11, 2025
Migrate the `BuildSystemDelegateTests` test 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#9012
Relates to: swiftlang#8997
issue: rdar://157669245
}
}
} when: {
(ProcessInfo.hostOperatingSystem == .windows && data.buildSystem == .swiftbuild && !withPrettyPrinting)
Copy link
Member

@cmcgee1024 cmcgee1024 Aug 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion (non-blocking): The known issue is with windows and the swiftbuild build system. I expect that the pretty printing doesn't impact this check at all, so I would remove the check whether pretty printing is not enabled.

bkhouri added a commit to bkhouri/swift-package-manager that referenced this pull request Aug 12, 2025
Migrate a few suites to Swift Teting, namely,
  - SwiftSDKCommandTests
  - MultiRootSupportTests
  - SwiftCommandStateTests

Depends on: swiftlang#9012
Relates to: swiftlang#8997
issue: rdar://157669245
bkhouri added a commit to bkhouri/swift-package-manager that referenced this pull request Aug 12, 2025
Migrate a few suites to Swift Teting, namely,
  - SwiftSDKCommandTests
  - MultiRootSupportTests
  - SwiftCommandStateTests

Depends on: swiftlang#9012
Relates to: swiftlang#8997
issue: rdar://157669245
@bkhouri bkhouri force-pushed the t/main/gh8997_rdar157669245_migrate-packacage_command_tests_to_ST branch from 37217a5 to d505742 Compare August 12, 2025 17:50
@bkhouri
Copy link
Contributor Author

bkhouri commented Aug 13, 2025

@swift-ci test

Migrate the `PackageCommandTests` to Swift Testing and augment the suite
to run against the Native and SwiftBuild build system, in addition to
the `debug` and `release` build configurations.

Relates to: swiftlang#8997
issue: rdar://157669245
@bkhouri bkhouri force-pushed the t/main/gh8997_rdar157669245_migrate-packacage_command_tests_to_ST branch from d505742 to 0e692c0 Compare August 13, 2025 18:44
@bkhouri
Copy link
Contributor Author

bkhouri commented Aug 13, 2025

@swift-ci test

@bkhouri
Copy link
Contributor Author

bkhouri commented Aug 13, 2025

@swift-ci test windows

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