mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08: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:
parent
645e00197a
commit
ff6ef9f0ee
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user