app-arch/advancecomp: Remove unnecessary test code
authorMichał Górny <mgorny@gentoo.org>
Sun, 25 Nov 2018 15:33:08 +0000 (16:33 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 25 Nov 2018 15:33:40 +0000 (16:33 +0100)
Disable using valgrind for tests.  Remove the now-unused flag
and commented out unnecessary deps.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
app-arch/advancecomp/advancecomp-2.1.ebuild

index 0c96dbc6fa308cd2b0664055ad0ac56200e2336e..5c2d7fe463cf69f10246109b4ca20bb054b4a6c0 100644 (file)
@@ -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[@]}"
 }