From e526750e4320f21e2c6372a14d527ae0caf2c3f0 Mon Sep 17 00:00:00 2001 From: Jaco Kroon Date: Tue, 2 Dec 2025 16:35:04 +0200 Subject: dev-cpp/aws-crt-cpp: 0.35.2 Fix tests. Closes: https://bugs.gentoo.org/966324 Signed-off-by: Jaco Kroon --- dev-cpp/aws-crt-cpp/aws-crt-cpp-0.35.2.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'dev-cpp/aws-crt-cpp') diff --git a/dev-cpp/aws-crt-cpp/aws-crt-cpp-0.35.2.ebuild b/dev-cpp/aws-crt-cpp/aws-crt-cpp-0.35.2.ebuild index 7b3d4ec3a6e0..247b4e329cfd 100644 --- a/dev-cpp/aws-crt-cpp/aws-crt-cpp-0.35.2.ebuild +++ b/dev-cpp/aws-crt-cpp/aws-crt-cpp-0.35.2.ebuild @@ -12,6 +12,9 @@ inherit cmake LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" +IUSE="test" + +RESTRICT="!test? ( test )" DEPEND=" dev-libs/aws-c-auth:= @@ -31,6 +34,11 @@ src_configure() { local mycmakeargs=( -DBUILD_DEPS=OFF # disable embedded 3rd-party repositories. + -DBUILD_TESTING=$(usex test) + ) + + use test && mycmakeargs+=( + -DENABLE_NET_TESTS=OFF # Network Sandbox cause these to fail. ) cmake_src_configure -- cgit v1.2.3