summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2017-08-22 15:10:20 -0400
committerCraig Andrews <candrews@gentoo.org>2017-08-22 16:01:52 -0400
commit367eef1b316bf6ad1985810b09c00926f71effb8 (patch)
tree7c6d82d1e60063a38ce7a471dad0fabd3283c0c7 /media-tv
parentmedia-tv/kodi: update metadata's bugs-to url to be https (diff)
downloadgentoo-367eef1b316bf6ad1985810b09c00926f71effb8.tar.gz
gentoo-367eef1b316bf6ad1985810b09c00926f71effb8.tar.bz2
gentoo-367eef1b316bf6ad1985810b09c00926f71effb8.zip
media-tv/kodi: Fix tests
Gentoo-bug: 628232 Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/kodi/kodi-17.3-r1.ebuild7
-rw-r--r--media-tv/kodi/kodi-17.3-r2.ebuild7
-rw-r--r--media-tv/kodi/kodi-17.3-r3.ebuild7
-rw-r--r--media-tv/kodi/kodi-17.4.ebuild7
-rw-r--r--media-tv/kodi/kodi-9999.ebuild7
5 files changed, 30 insertions, 5 deletions
diff --git a/media-tv/kodi/kodi-17.3-r1.ebuild b/media-tv/kodi/kodi-17.3-r1.ebuild
index 7feb371367ca..439cdcf8d0a0 100644
--- a/media-tv/kodi/kodi-17.3-r1.ebuild
+++ b/media-tv/kodi/kodi-17.3-r1.ebuild
@@ -252,7 +252,12 @@ src_configure() {
}
src_compile() {
- cmake-utils_src_compile all $(usev test)
+ cmake-utils_src_compile all
+ use test && emake -C "${BUILD_DIR}" kodi-test
+}
+
+src_test() {
+ emake -C "${BUILD_DIR}" test
}
src_install() {
diff --git a/media-tv/kodi/kodi-17.3-r2.ebuild b/media-tv/kodi/kodi-17.3-r2.ebuild
index 938957d4a299..952298e4e444 100644
--- a/media-tv/kodi/kodi-17.3-r2.ebuild
+++ b/media-tv/kodi/kodi-17.3-r2.ebuild
@@ -253,7 +253,12 @@ src_configure() {
}
src_compile() {
- cmake-utils_src_compile all $(usev test)
+ cmake-utils_src_compile all
+ use test && emake -C "${BUILD_DIR}" kodi-test
+}
+
+src_test() {
+ emake -C "${BUILD_DIR}" test
}
src_install() {
diff --git a/media-tv/kodi/kodi-17.3-r3.ebuild b/media-tv/kodi/kodi-17.3-r3.ebuild
index 60cec9c2705d..06acdb536819 100644
--- a/media-tv/kodi/kodi-17.3-r3.ebuild
+++ b/media-tv/kodi/kodi-17.3-r3.ebuild
@@ -253,7 +253,12 @@ src_configure() {
}
src_compile() {
- cmake-utils_src_compile all $(usev test)
+ cmake-utils_src_compile all
+ use test && emake -C "${BUILD_DIR}" kodi-test
+}
+
+src_test() {
+ emake -C "${BUILD_DIR}" test
}
src_install() {
diff --git a/media-tv/kodi/kodi-17.4.ebuild b/media-tv/kodi/kodi-17.4.ebuild
index 7c03f9c20d24..50e4a9c83256 100644
--- a/media-tv/kodi/kodi-17.4.ebuild
+++ b/media-tv/kodi/kodi-17.4.ebuild
@@ -253,7 +253,12 @@ src_configure() {
}
src_compile() {
- cmake-utils_src_compile all $(usev test)
+ cmake-utils_src_compile all
+ use test && emake -C "${BUILD_DIR}" kodi-test
+}
+
+src_test() {
+ emake -C "${BUILD_DIR}" test
}
src_install() {
diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild
index d6cdbd49752e..257054417a03 100644
--- a/media-tv/kodi/kodi-9999.ebuild
+++ b/media-tv/kodi/kodi-9999.ebuild
@@ -251,7 +251,12 @@ src_configure() {
}
src_compile() {
- cmake-utils_src_compile all $(usev test)
+ cmake-utils_src_compile all
+ use test && emake -C "${BUILD_DIR}" kodi-test
+}
+
+src_test() {
+ emake -C "${BUILD_DIR}" test
}
src_install() {