swiftlang / swift-testing

A modern, expressive testing package for Swift
Apache License 2.0
1.78k stars 76 forks source link

Expose the target triple as a separate string from the testing library version. #652

Closed grynspan closed 1 month ago

grynspan commented 2 months ago

This PR adds a script to our CMake build to capture the target triple being used to build Swift Testing so that we can include it in our diagnostic output.

Apple's fork of Swift Testing (as included with Xcode 16) also includes this information, and it is very useful to have when reviewing bug reports as it can tell us if a problem is specific to a given architecture or OS variant.

Checklist:

grynspan commented 2 months ago

@swift-ci test

grynspan commented 1 month ago

@swift-ci test

grynspan commented 1 month ago

@swift-ci test

grynspan commented 1 month ago

@kateinoigakukun FYI some WASI-specific tweaks here.