Skip to content

[toolchain-stdlib-build] Make sure to run only tests under stdlib/ an… #25178

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
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
57 changes: 50 additions & 7 deletions utils/build-presets.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2031,10 +2031,7 @@ mixin-preset=buildbot_linux
# Standalone Stdlib
#===------------------------------------------------------------------------===#

[preset: stdlib_RA,standalone,notest]
release
assertions

[preset: stdlib_base_standalone]
# We do not want to build llvm, cmark, or benchmarks. We will still build a
# small part of llvm and configure both llvm/cmark.
skip-build-llvm
Expand All @@ -2051,9 +2048,55 @@ native-swift-tools-path=%(toolchain_path)s
native-llvm-tools-path=%(toolchain_path)s
native-clang-tools-path=%(toolchain_path)s

[preset: stdlib_RA,standalone]
mixin-preset=stdlib_RA,standalone,notest
build-ninja

[preset: stdlib_RA_standalone,build]
mixin-preset=stdlib_base_standalone

build-subdir=stdlib_RA_standalone
release
assertions

reconfigure
verbose-build

[preset: stdlib_RA_standalone,build,test]
mixin-preset=stdlib_RA_standalone,build

test
validation-test
lit-args=-v --filter=stdlib/

[preset: stdlib_RDA_standalone,build]
mixin-preset=stdlib_base_standalone

build-subdir=stdlib_RDA_standalone
release-debuginfo
assertions

reconfigure
verbose-build

[preset: stdlib_RDA_standalone,build,test]
mixin-preset=stdlib_RDA_standalone,build

test
validation-test
lit-args=-v --filter=stdlib/

[preset: stdlib_DA_standalone,build]
mixin-preset=stdlib_base_standalone

build-subdir=stdlib_DA_standalone
debug
assertions

reconfigure
verbose-build

[preset: stdlib_DA_standalone,build,test]
mixin-preset=stdlib_DA_standalone,build

test
validation-test
only-executable-test
lit-args=-v --filter=stdlib/