Skip to content

Commit

Permalink
games-arcade/oshu: Fix tests
Browse files Browse the repository at this point in the history
Turn out it was failing because cmake.eclass calls ctest directly

Signed-off-by: Haelwenn (lanodan) Monnier <[email protected]>
Signed-off-by: Joonas Niilola <[email protected]>
  • Loading branch information
lanodan authored and juippis committed Apr 4, 2020
1 parent 9f4b9d7 commit 5b23467
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions games-arcade/oshu/oshu-2.0.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -53,3 +49,7 @@ src_configure() {

cmake_src_configure
}

src_test() {
cmake_build check
}
8 changes: 4 additions & 4 deletions games-arcade/oshu/oshu-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -53,3 +49,7 @@ src_configure() {

cmake_src_configure
}

src_test() {
cmake_build check
}

0 comments on commit 5b23467

Please sign in to comment.