From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1237208-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 663501382C5 for <garchives@archives.gentoo.org>; Sun, 3 Jan 2021 13:58:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F898E0857; Sun, 3 Jan 2021 13:57:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4B77CE0857 for <gentoo-commits@lists.gentoo.org>; Sun, 3 Jan 2021 13:57:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DD74034103A for <gentoo-commits@lists.gentoo.org>; Sun, 3 Jan 2021 13:57:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4D9C0CC for <gentoo-commits@lists.gentoo.org>; Sun, 3 Jan 2021 13:57:56 +0000 (UTC) From: "Ulrich Müller" <ulm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org> Message-ID: <1609682244.7d12a219103e5951c0c5c25cf12abdc306d29868.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/functions/src_test/ X-VCS-Repository: proj/devmanual X-VCS-Files: ebuild-writing/functions/src_test/text.xml X-VCS-Directories: ebuild-writing/functions/src_test/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 7d12a219103e5951c0c5c25cf12abdc306d29868 X-VCS-Branch: master Date: Sun, 3 Jan 2021 13:57:56 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5882cc73-f6f3-4157-8336-64a62a50ac4d X-Archives-Hash: 9d53dbddc871dff87c10dc9065532c6e commit: 7d12a219103e5951c0c5c25cf12abdc306d29868 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Tue Dec 15 10:24:48 2020 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sun Jan 3 13:57:24 2021 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=7d12a219 ebuild-writing/functions/src_test: IUSE=test is not required. Closes: https://bugs.gentoo.org/760051 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> ebuild-writing/functions/src_test/text.xml | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/ebuild-writing/functions/src_test/text.xml b/ebuild-writing/functions/src_test/text.xml index d214b15..baf0ad6 100644 --- a/ebuild-writing/functions/src_test/text.xml +++ b/ebuild-writing/functions/src_test/text.xml @@ -68,21 +68,11 @@ src_test() { <p> If the packaged software is equipped with a test suite, it is sensible -to make the package aware of it. This allows the package manager to -run the software's unit tests. Packages with a test suite must -announce the "test" USE flag. -</p> - -<codesample lang="ebuild"> -IUSE="test" -</codesample> - -<p> -The next important aspect to consider are test-only dependencies, i.e. -dependencies that are only required to run the test suite. Test-only -dependencies should be specified in a DEPEND behind a USE flag. -Please refer to the section on -<uri link="::general-concepts/dependencies/#Test Dependencies"/> +to run it. Sometimes the package will need additional dependencies for this, +i.e., dependencies that are only required to run the test suite. Such test-only +dependencies should be specified in DEPEND or BDEPEND behind a USE flag; +often, the <c>test</c> USE flag will be used for this. Please refer to the +section on <uri link="::general-concepts/dependencies/#Test Dependencies"/> for more information. </p>