commit: 5b23467f58e057f864b964b41fe311f401517588
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Sat Apr 4 07:10:35 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Apr 4 07:38:57 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b23467f
games-arcade/oshu: Fix tests
Turn out it was failing because cmake.eclass calls ctest directly
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
games-arcade/oshu/oshu-2.0.1.ebuild | 8 ++++----
games-arcade/oshu/oshu-9999.ebuild | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/games-arcade/oshu/oshu-2.0.1.ebuild
b/games-arcade/oshu/oshu-2.0.1.ebuild
index 84d415b3c11..f394d808178 100644
--- a/games-arcade/oshu/oshu-2.0.1.ebuild
+++ b/games-arcade/oshu/oshu-2.0.1.ebuild
@@ -32,10 +32,6 @@ RDEPEND="
DEPEND="${RDEPEND}"
-# Doesn't build executable needed for the test
-# https://github.com/fmang/oshu/issues/87
-RESTRICT="test"
-
src_prepare() {
if use osu-skin; then
eapply "${FILESDIR}/oshu-2.0.0-use_unpacked_osu-skin.patch"
@@ -53,3 +49,7 @@ src_configure() {
cmake_src_configure
}
+
+src_test() {
+ cmake_build check
+}
diff --git a/games-arcade/oshu/oshu-9999.ebuild
b/games-arcade/oshu/oshu-9999.ebuild
index 84d415b3c11..f394d808178 100644
--- a/games-arcade/oshu/oshu-9999.ebuild
+++ b/games-arcade/oshu/oshu-9999.ebuild
@@ -32,10 +32,6 @@ RDEPEND="
DEPEND="${RDEPEND}"
-# Doesn't build executable needed for the test
-# https://github.com/fmang/oshu/issues/87
-RESTRICT="test"
-
src_prepare() {
if use osu-skin; then
eapply "${FILESDIR}/oshu-2.0.0-use_unpacked_osu-skin.patch"
@@ -53,3 +49,7 @@ src_configure() {
cmake_src_configure
}
+
+src_test() {
+ cmake_build check
+}