From f14c66d1ae4971049e399e4396eba1992f434b5c Mon Sep 17 00:00:00 2001 From: "Azamat H. Hackimov" Date: Tue, 1 Nov 2022 15:31:38 +0300 Subject: app-arch/upx: fix running tests (#878977) Tests should runs sequentially since there no dependencies for each test step. Closes: https://bugs.gentoo.org/878977 Signed-off-by: Azamat H. Hackimov Closes: https://github.com/gentoo/gentoo/pull/28076 Signed-off-by: Conrad Kostecki --- app-arch/upx/upx-4.0.0.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app-arch/upx/upx-4.0.0.ebuild b/app-arch/upx/upx-4.0.0.ebuild index dcfcfaccee67..45118519051f 100644 --- a/app-arch/upx/upx-4.0.0.ebuild +++ b/app-arch/upx/upx-4.0.0.ebuild @@ -13,6 +13,15 @@ S="${WORKDIR}/${P}-src" LICENSE="GPL-2+ UPX-exception" # Read the exception before applying any patches SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" RDEPEND="!app-arch/upx-bin" BDEPEND="app-arch/xz-utils[extra-filters]" + +src_test() { + # Don't run tests in parallel, #878977 + cd "${BUILD_DIR}" || die + ctest || die +} -- cgit v1.2.3-18-g5258