diff options
Diffstat (limited to 'dev-cpp/aws-crt-cpp')
| -rw-r--r-- | dev-cpp/aws-crt-cpp/aws-crt-cpp-0.35.2.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
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 |
