summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-10-16 11:07:52 +0200
committerAlexis Ballier <aballier@gentoo.org>2015-10-16 11:08:06 +0200
commita23055cc00fcd554ba45d726c2e6da8d082739cd (patch)
tree10d9133bbf925937ef718f56c3bafa7234967778 /media-video
parentdev-python/Numdifftools: Add missing builddep (diff)
downloadgentoo-a23055cc00fcd554ba45d726c2e6da8d082739cd.tar.gz
gentoo-a23055cc00fcd554ba45d726c2e6da8d082739cd.tar.bz2
gentoo-a23055cc00fcd554ba45d726c2e6da8d082739cd.zip
media-video/mkvtoolnix: Run the testsuite with FEATURES=test.
Package-Manager: portage-2.2.23
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mkvtoolnix/mkvtoolnix-8.4.0.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/media-video/mkvtoolnix/mkvtoolnix-8.4.0.ebuild b/media-video/mkvtoolnix/mkvtoolnix-8.4.0.ebuild
index 6872d50a234e..9c244eb82a98 100644
--- a/media-video/mkvtoolnix/mkvtoolnix-8.4.0.ebuild
+++ b/media-video/mkvtoolnix/mkvtoolnix-8.4.0.ebuild
@@ -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/}
@@ -48,6 +48,7 @@ DEPEND="${RDEPEND}
|| ( ${RUBY_BDEPS} )
sys-devel/gettext
virtual/pkgconfig
+ test? ( dev-cpp/gtest )
"
pkg_pretend() {
@@ -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