1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
11 DESCRIPTION="A lightweight unit testing framework for C++"
12 HOMEPAGE="https://unittest-cpp.github.io/"
13 SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
17 KEYWORDS="~amd64 ~x86"
20 S="${WORKDIR}/${MY_P}"
23 sed -i '/run unit tests as post build step/,/Running unit tests/d' \
26 '/build the test runner/,/target_link_libraries(TestUnitTest++ UnitTest++/d' \
28 cmake-utils_src_prepare
32 "${BUILD_DIR}/TestUnitTest++" || die "Tests failed"