Skip to content

Commit

Permalink
media-video/mkvtoolnix: Run the testsuite with FEATURES=test.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.23
  • Loading branch information
aballier committed Oct 16, 2015
1 parent 55104a6 commit a23055c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion media-video/mkvtoolnix/mkvtoolnix-8.4.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SRC_URI="http://www.bunkus.org/videotools/mkvtoolnix/sources/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="curl debug pch qt5"
IUSE="curl debug pch test qt5"

ruby_atom() {
local ruby_slot=${1/ruby/}
Expand Down Expand Up @@ -48,6 +48,7 @@ DEPEND="${RDEPEND}
|| ( ${RUBY_BDEPS} )
sys-devel/gettext
virtual/pkgconfig
test? ( dev-cpp/gtest )
"

pkg_pretend() {
Expand Down Expand Up @@ -102,6 +103,11 @@ src_compile() {
"${RUBY}" ./drake V=1 -j$(makeopts_jobs) || die
}

src_test() {
"${RUBY}" ./drake V=1 -j$(makeopts_jobs) tests:unit || die
"${RUBY}" ./drake V=1 -j$(makeopts_jobs) tests:run_unit || die
}

src_install() {
DESTDIR="${D}" "${RUBY}" ./drake -j$(makeopts_jobs) install || die

Expand Down

0 comments on commit a23055c

Please sign in to comment.