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 2CFB3158090 for ; Tue, 17 May 2022 05:34:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7922CE0975; Tue, 17 May 2022 05:34:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5D396E0975 for ; Tue, 17 May 2022 05:34:55 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 607B2341BB2 for ; Tue, 17 May 2022 05:34:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3A6834D9 for ; Tue, 17 May 2022 05:34:51 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1652765644.9f97d3deaba5185297268d07f28f05e06bb4085b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libaom/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libaom/libaom-3.3.0.ebuild X-VCS-Directories: media-libs/libaom/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9f97d3deaba5185297268d07f28f05e06bb4085b X-VCS-Branch: master Date: Tue, 17 May 2022 05:34:51 +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: 9bba25fe-c63a-4769-95d1-b720cb8859ce X-Archives-Hash: a7f3d0a09b5f7cac0c18c1166e4fad48 commit: 9f97d3deaba5185297268d07f28f05e06bb4085b Author: Sam James gentoo org> AuthorDate: Tue May 17 05:32:40 2022 +0000 Commit: Sam James gentoo org> CommitDate: Tue May 17 05:34:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f97d3de media-libs/libaom: partially wire up tests Signed-off-by: Sam James gentoo.org> media-libs/libaom/libaom-3.3.0.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/media-libs/libaom/libaom-3.3.0.ebuild b/media-libs/libaom/libaom-3.3.0.ebuild index e23ac9e6a952..8b1b5dafce17 100644 --- a/media-libs/libaom/libaom-3.3.0.ebuild +++ b/media-libs/libaom/libaom-3.3.0.ebuild @@ -19,10 +19,12 @@ HOMEPAGE="https://aomedia.org https://aomedia.googlesource.com/aom/" LICENSE="BSD-2" SLOT="0/3" -IUSE="doc +examples" +IUSE="doc +examples test" IUSE="${IUSE} cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3" IUSE="${IUSE} cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2" IUSE="${IUSE} cpu_flags_arm_neon" +# Tests need more wiring up +RESTRICT="!test? ( test ) test" REQUIRED_USE=" cpu_flags_x86_sse2? ( cpu_flags_x86_mmx ) @@ -45,7 +47,7 @@ multilib_src_configure() { -DENABLE_DOCS=$(multilib_native_usex doc ON OFF) -DENABLE_EXAMPLES=$(multilib_native_usex examples ON OFF) -DENABLE_NASM=OFF - -DENABLE_TESTS=OFF + -DENABLE_TESTS=$(usex test) -DENABLE_TOOLS=ON -DENABLE_WERROR=OFF @@ -89,6 +91,10 @@ multilib_src_configure() { cmake_src_configure } +multilib_src_test() { + "${BUILD_DIR}"/test_libaom || die +} + multilib_src_install() { if multilib_is_native_abi && use doc ; then local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )