Skip to content

Automatically determine the testing library version instead of hardcoding it, including for release branches #1063

@stmontgomery

Description

@stmontgomery

Description

This issue tracks finding a way to stop hardcoding the Swift Testing library version in places like

https://github.com/swiftlang/swift-testing/blob/main/cmake/modules/LibraryVersion.cmake#L11

Instead, for CMake builds driven by build-script, I think we could use the propagated -DSWIFT_VERSION and related settings to infer the version from the surrounding build.

Motivation: Avoid needing to perform the manual maintenance task of bumping the version, such as in #1061

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    build🧱 Affects the project's build configuration or processenhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions