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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 10AB5138359 for ; Fri, 28 Aug 2020 19:02:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F449E087F; Fri, 28 Aug 2020 19:02:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 EAF32E087F for ; Fri, 28 Aug 2020 19:02:04 +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 9F57733BDF4 for ; Fri, 28 Aug 2020 19:02:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1558B2D1 for ; Fri, 28 Aug 2020 19:02:02 +0000 (UTC) From: "Ulrich Müller" 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" Message-ID: <1598641191.929b5a3a85c3cf34cf967db579a45d8f3ee88564.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: 929b5a3a85c3cf34cf967db579a45d8f3ee88564 X-VCS-Branch: master Date: Fri, 28 Aug 2020 19:02:02 +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: dcf7009e-b76f-47be-99a7-d92de662fff5 X-Archives-Hash: 0a294ebddaffc8119b3d956e94a8d922 commit: 929b5a3a85c3cf34cf967db579a45d8f3ee88564 Author: Ulrich Müller gentoo org> AuthorDate: Fri Aug 14 12:15:27 2020 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri Aug 28 18:59:51 2020 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=929b5a3a ebuild-writing/functions/src_test: Add nonfatal to if conditions. Closes: https://bugs.gentoo.org/722418 Signed-off-by: Ulrich Müller gentoo.org> ebuild-writing/functions/src_test/text.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ebuild-writing/functions/src_test/text.xml b/ebuild-writing/functions/src_test/text.xml index fbd0751..d214b15 100644 --- a/ebuild-writing/functions/src_test/text.xml +++ b/ebuild-writing/functions/src_test/text.xml @@ -34,9 +34,9 @@

The default test phase in EAPI 6 is equivalent to the following:

src_test() { - if emake check -n &> /dev/null; then + if nonfatal emake check -n &> /dev/null; then emake check - elif emake test -n &> /dev/null; then + elif nonfatal emake test -n &> /dev/null; then emake test fi }