commit: 40583ac1cf0a08ebf8c27518f497369441790e7e Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Oct 9 07:34:13 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Oct 13 04:52:32 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40583ac1
profiles: Introduce test-rust flag to control Rust test deps Introduce a test-rust flag to control important test dependencies that require Rust. This flag is forced in regular profiles since we want to run these tests but masked in wd40 profiles to avoid unresolved dependencies. Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> profiles/arch/base/use.force | 7 ++++++- profiles/features/wd40/use.force | 6 ++++++ profiles/features/wd40/use.mask | 4 ++++ profiles/use.desc | 1 + 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/profiles/arch/base/use.force b/profiles/arch/base/use.force index 30802cd5b3cd..b44881f46261 100644 --- a/profiles/arch/base/use.force +++ b/profiles/arch/base/use.force @@ -1,6 +1,11 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Michał Górny <[email protected]> (2022-10-09) +# We want to run all tests by default. This flag is disabled in wd40 +# profiles to avoid unresolved dependencies. +test-rust + # James Le Cuirot <[email protected]> (2017-06-29) # Forced and masked by default. Unmask where necessary. big-endian diff --git a/profiles/features/wd40/use.force b/profiles/features/wd40/use.force new file mode 100644 index 000000000000..5fd5e390ab4f --- /dev/null +++ b/profiles/features/wd40/use.force @@ -0,0 +1,6 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Michał Górny <[email protected]> (2022-10-09) +# Disable tests requiring Rust. +-test-rust diff --git a/profiles/features/wd40/use.mask b/profiles/features/wd40/use.mask index 94c96a950136..a265b328acb2 100644 --- a/profiles/features/wd40/use.mask +++ b/profiles/features/wd40/use.mask @@ -3,6 +3,10 @@ rust +# Michał Górny <[email protected]> (2022-10-09) +# Disable tests requiring Rust. +test-rust + # Sam James <[email protected]> (2022-08-26) # >=media-gfx/libimagequant-4 requires Rust. imagequant diff --git a/profiles/use.desc b/profiles/use.desc index aa2506213799..d7e841f80df6 100644 --- a/profiles/use.desc +++ b/profiles/use.desc @@ -312,6 +312,7 @@ tcmalloc - Use the dev-util/google-perftools libraries to replace the malloc() i tcpd - Add support for TCP wrappers telemetry - Send anonymized usage information to upstream so they can better understand our users test - Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) +test-rust - Enable important test dependencies that require Rust toolchain theora - Add support for the Theora Video Compression Codec threads - Add threads support for various packages. Usually pthreads tidy - Add support for HTML Tidy
