Skip to content

Commit

Permalink
app-arch/advancecomp: Remove unnecessary test code
Browse files Browse the repository at this point in the history
Disable using valgrind for tests.  Remove the now-unused flag
and commented out unnecessary deps.

Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Nov 25, 2018
1 parent b155ee7 commit c432342
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions app-arch/advancecomp/advancecomp-2.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,22 @@ SRC_URI="https://github.com/amadvance/${PN}/releases/download/v${PV}/${P}.tar.gz
LICENSE="GPL-2+ Apache-2.0 LGPL-2.1+ MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
IUSE="test"
IUSE=""

RDEPEND="app-arch/bzip2:=
sys-libs/zlib:="
DEPEND="${RDEPEND}"
# test? ( dev-util/valgrind )
# test? ( app-text/tofrodos )

RESTRICT="test" #282441, #523212
# Tests seem to rely on exact output:
# https://sourceforge.net/p/advancemame/bugs/270/
RESTRICT="test"

src_configure() {
local myconf=(
--enable-bzip2
$(use_enable test valgrind)
# (--disable-* arguments are mishandled)
# --disable-debug
# --disable-valgrind
)
econf "${myconf[@]}"
}
Expand Down

0 comments on commit c432342

Please sign in to comment.