From 5b23467f58e057f864b964b41fe311f401517588 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sat, 4 Apr 2020 10:10:35 +0300 Subject: games-arcade/oshu: Fix tests Turn out it was failing because cmake.eclass calls ctest directly Signed-off-by: Haelwenn (lanodan) Monnier Signed-off-by: Joonas Niilola --- 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 84d415b3c11a..f394d8081789 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 84d415b3c11a..f394d8081789 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 +} -- cgit v1.2.3-65-gdbad