Skip to content

preset: treat swift testing the same as xctest #81401

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

Merged
merged 1 commit into from
May 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions utils/build-presets.ini
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@ mixin-preset=buildbot_incremental_base
# on Foundation, so that is built as well. On OS X, Foundation is built as part
# of the XCTest Xcode project.
xctest
swift-testing
swift-testing-macros

build-swift-stdlib-unittest-extra

Expand All @@ -441,6 +443,8 @@ skip-test-foundation
release
assertions
xctest
swift-testing
swift-testing-macros
test

skip-test-cmark
Expand Down Expand Up @@ -625,6 +629,8 @@ swiftformat
swift-driver
indexstore-db
sourcekit-lsp
swift-testing
swift-testing-macros
# Failing to build in CI: rdar://78408440
# swift-inspect
install-llvm
Expand All @@ -635,6 +641,8 @@ install-swiftpm
install-swiftsyntax
install-swift-driver
install-swiftformat
install-swift-testing
install-swift-testing-macros

# We need to build the unittest extras so we can test
build-swift-stdlib-unittest-extra
Expand Down Expand Up @@ -1134,6 +1142,8 @@ lldb
foundation
swiftpm
swift-driver
swift-testing
swift-testing-macros
xctest

build-subdir=buildbot_linux
Expand All @@ -1147,6 +1157,8 @@ install-foundation
install-swiftpm
install-swift-driver
install-swiftsyntax
install-swift-testing
install-swift-testing-macros
install-xctest
install-prefix=/usr
swift-install-components=autolink-driver;compiler;clang-builtin-headers;libexec;stdlib;swift-remote-mirror;sdk-overlay;dev
Expand Down Expand Up @@ -3030,8 +3042,12 @@ build-subdir=compat_linux
foundation
libdispatch
xctest
swift-testing
swift-testing-macros
install-foundation
install-libdispatch
install-swift-testing
install-swift-testing-macros
install-xctest
swift-install-components=autolink-driver;compiler;clang-builtin-headers;stdlib;libexec;swift-remote-mirror;sdk-overlay;license

Expand Down Expand Up @@ -3224,6 +3240,8 @@ skip-early-swift-driver

llbuild
xctest
swift-testing
swift-testing-macros
swiftpm

swift-include-tests=0
Expand All @@ -3248,4 +3266,6 @@ install-foundation
install-libdispatch
install-llbuild
install-swiftpm
install-swift-testing
install-swift-testing-macros
install-xctest