mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-libs/aws-c-event-stream: 0.5.7
Add tests. Signed-off-by: Jaco Kroon <jkroon@gentoo.org>
This commit is contained in:
@@ -12,9 +12,23 @@ inherit cmake
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="dev-libs/aws-c-common
|
||||
dev-libs/aws-c-io
|
||||
dev-libs/aws-checksums"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="dev-libs/aws-c-common"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
use test && mycmakeargs+=(
|
||||
-DENABLE_NET_TESTS=OFF # Network Sandbox cause these to fail.
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user