From c432342c84ba6a7dce50a98af96d7c8aad754a64 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 25 Nov 2018 16:33:08 +0100 Subject: [PATCH] app-arch/advancecomp: Remove unnecessary test code MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Disable using valgrind for tests. Remove the now-unused flag and commented out unnecessary deps. Signed-off-by: Michał Górny --- app-arch/advancecomp/advancecomp-2.1.ebuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/app-arch/advancecomp/advancecomp-2.1.ebuild b/app-arch/advancecomp/advancecomp-2.1.ebuild index 0c96dbc6fa30..5c2d7fe463cf 100644 --- a/app-arch/advancecomp/advancecomp-2.1.ebuild +++ b/app-arch/advancecomp/advancecomp-2.1.ebuild @@ -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[@]}" } -- 2.26.2