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 2AB25159C83 for ; Wed, 7 Aug 2024 08:59:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5CE272BC016; Wed, 7 Aug 2024 08:59:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 4230E2BC016 for ; Wed, 7 Aug 2024 08:59:02 +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 3A5BB343076 for ; Wed, 7 Aug 2024 08:59:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 980C91EBC for ; Wed, 7 Aug 2024 08:58:59 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1723021120.91990a04b76e591ffe959f5101645f44cb83c730.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/tests/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/tests/tests-common.sh X-VCS-Directories: eclass/tests/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 91990a04b76e591ffe959f5101645f44cb83c730 X-VCS-Branch: master Date: Wed, 7 Aug 2024 08:58:59 +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: 1244e33f-e8bf-47ce-85cf-cca4f5eaa221 X-Archives-Hash: 416ed5f3518d9f099f1f4db0178cb709 commit: 91990a04b76e591ffe959f5101645f44cb83c730 Author: Andrew Ammerlaan gentoo org> AuthorDate: Tue Aug 6 09:38:12 2024 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Wed Aug 7 08:58:40 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91990a04 eclass/tests/tests-common.sh: add in_iuse function Signed-off-by: Andrew Ammerlaan gentoo.org> eclass/tests/tests-common.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eclass/tests/tests-common.sh b/eclass/tests/tests-common.sh index 45b1e20b933a..f4e18f38fee9 100644 --- a/eclass/tests/tests-common.sh +++ b/eclass/tests/tests-common.sh @@ -55,6 +55,8 @@ has() { } use() { has "$1" ${IUSE} ; } +in_iuse() { use "$@" ; } + die() { echo "die: $*" 1>&2 exit 1