swift
16ef0b27 - [6.0] Build and install swift-testing in toolchains (#75837)

Commit
1 year ago
[6.0] Build and install swift-testing in toolchains (#75837) * Add swift-testing to update-checkout (cherry picked from commit 19910c6c227ff7e05bd344a85cb66fa1acc4b263) * Build script changes to begin building and installing swift-testing into toolchains (on Darwin, so far) (cherry picked from commit 97e85a6bf20b38e2ac754de81d1d87585cea2a95) * Add swift-testing to Linux presets too (cherry picked from commit ff5ece15bc5e7a0faa6d1a0abbe57f146f349142) * Improve description of new build-script flags (cherry picked from commit c8d7d134b01897d16d0b4617a65911c38aec3c5a) * Fix header comment (cherry picked from commit 155e4c857bbee230ea16b228e2f7d3612507d14e) * [swift-testing] Build tweak * Remove SwiftSyntax product dependency * Correct CMAKE_BUILD_TYPE (cherry picked from commit e06d38b3ac6b063fc116df9dfcb44b48eeefb5f3) * [Windows] Build and install swift-testing in Windows toolchains * Basically following XCTest scheme. * Build TestingMacro separately from Testing library and install it to the toolchain's `bin` * Testing swift-testing itself is TODO (cherry picked from commit f069aecca504ce98abf85faf80d4919ca59af1cc) * [build-preset] Add swift-testing to incrmental bots (cherry picked from commit 6a383293c4a916b3e77924cf1c45fecf771c61ef) * [build-script] Separate SwiftTestinMacros from SwiftTesting product Also, build them for all hosts including cross compiling host. (cherry picked from commit e98c5eab6111801357176ef10992ec63eef5f071) * [6.0] Add swift-testing to update-checkout-config.json To release/6.0 scheme. * [build-script] Fix product dependencies SwiftPM now depends on `SwiftTesting`, `SwiftTesting` depends on `SwiftTestingMacros` rdar://133946466 (cherry picked from commit 852aa7798ff25c7ce50bdf7477f724fbc624662b) --------- Co-authored-by: Stuart Montgomery <smontgomery@apple.com> (cherry picked from commit 222fd1db3f53b08b1be47eeeb9ecbf84d47b3b50)
Author
Committer
Parents
Loading