commit: 929b5a3a85c3cf34cf967db579a45d8f3ee88564 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Fri Aug 14 12:15:27 2020 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> 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 <ulm <AT> 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 @@ <p>The default test phase in EAPI 6 is equivalent to the following:</p> <codesample lang="ebuild"> 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 }