diff options
author | Ulrich Müller <ulm@gentoo.org> | 2020-08-14 14:15:27 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2020-08-28 20:59:51 +0200 |
commit | 929b5a3a85c3cf34cf967db579a45d8f3ee88564 (patch) | |
tree | 1f5bed2c5ae246d63e4e3946015c37ef343eb702 | |
parent | devbook.dtd: Tighten definition of <title>. (diff) | |
download | devmanual-929b5a3a.tar.gz devmanual-929b5a3a.tar.bz2 devmanual-929b5a3a.zip |
ebuild-writing/functions/src_test: Add nonfatal to if conditions.
Closes: https://bugs.gentoo.org/722418
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r-- | ebuild-writing/functions/src_test/text.xml | 4 |
1 files 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 } |