From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0CB2F158015 for ; Mon, 25 Dec 2023 00:43:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7BA242BC017; Mon, 25 Dec 2023 00:43:28 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 622762BC017 for ; Mon, 25 Dec 2023 00:43:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6F40333FD24 for ; Mon, 25 Dec 2023 00:43:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B367D1492 for ; Mon, 25 Dec 2023 00:43:25 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1703464999.9ec55c92c40cd8723686599ecf858e78292af65c.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libdrm/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/libdrm/libdrm-9999.ebuild X-VCS-Directories: x11-libs/libdrm/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 9ec55c92c40cd8723686599ecf858e78292af65c X-VCS-Branch: master Date: Mon, 25 Dec 2023 00:43:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2b879540-faf8-4fe2-a52d-ed97c9e06f11 X-Archives-Hash: ad47ffc5a8264ecbf14d1900608f2f9a commit: 9ec55c92c40cd8723686599ecf858e78292af65c Author: Matt Turner gentoo org> AuthorDate: Mon Dec 25 00:31:16 2023 +0000 Commit: Matt Turner gentoo org> CommitDate: Mon Dec 25 00:43:19 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ec55c92 x11-libs/libdrm: Enable tests Signed-off-by: Matt Turner gentoo.org> x11-libs/libdrm/libdrm-9999.ebuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/x11-libs/libdrm/libdrm-9999.ebuild b/x11-libs/libdrm/libdrm-9999.ebuild index 72954f26c11f..6ffff813ee27 100644 --- a/x11-libs/libdrm/libdrm-9999.ebuild +++ b/x11-libs/libdrm/libdrm-9999.ebuild @@ -24,8 +24,8 @@ for card in ${VIDEO_CARDS}; do IUSE_VIDEO_CARDS+=" video_cards_${card}" done -IUSE="${IUSE_VIDEO_CARDS} tools udev valgrind" -RESTRICT="test" # see bug #236845 +IUSE="${IUSE_VIDEO_CARDS} test tools udev valgrind" +RESTRICT="!test? ( test )" LICENSE="MIT" SLOT="0" @@ -34,7 +34,10 @@ COMMON_DEPEND=" DEPEND="${COMMON_DEPEND} valgrind? ( dev-util/valgrind )" RDEPEND="${COMMON_DEPEND} - video_cards_amdgpu? ( tools? ( >=dev-util/cunit-2.1 ) ) + video_cards_amdgpu? ( + tools? ( >=dev-util/cunit-2.1 ) + test? ( >=dev-util/cunit-2.1 ) + ) udev? ( virtual/udev )" BDEPEND="${PYTHON_DEPS} $(python_gen_any_dep 'dev-python/docutils[${PYTHON_USEDEP}]')" @@ -63,7 +66,7 @@ multilib_src_configure() { $(meson_native_use_bool tools install-test-programs) ) - if multilib_is_native_abi && use tools; then + if use test || { multilib_is_native_abi && use tools; }; then emesonargs+=( -Dtests=true ) else emesonargs+=( -Dtests=false )