Gentoo Archives: gentoo-dev

From: alexey+gentoo@××××××××.org
To: gentoo-dev@l.g.o
Cc: Alexey Sokolov <alexey+gentoo@××××××××.org>
Subject: [gentoo-dev] [PATCH] distutils-r1.eclass: support nonfatal in test
Date: Thu, 05 Jan 2023 23:56:03
Message-Id: 20230105235525.14889-1-alexey+gentoo@asokolov.org
1 From: Alexey Sokolov <alexey+gentoo@××××××××.org>
2
3 Signed-off-by: Alexey Sokolov <alexey+gentoo@××××××××.org>
4 ---
5 eclass/distutils-r1.eclass | 4 ++--
6 1 file changed, 2 insertions(+), 2 deletions(-)
7
8 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
9 index 371d52bcb7e..8896768d3ce 100644
10 --- a/eclass/distutils-r1.eclass
11 +++ b/eclass/distutils-r1.eclass
12 @@ -1,4 +1,4 @@
13 -# Copyright 1999-2022 Gentoo Authors
14 +# Copyright 1999-2023 Gentoo Authors
15 # Distributed under the terms of the GNU General Public License v2
16
17 # @ECLASS: distutils-r1.eclass
18 @@ -1559,7 +1559,7 @@ distutils-r1_python_test() {
19 esac
20
21 if [[ ${?} -ne 0 ]]; then
22 - die "Tests failed with ${EPYTHON}"
23 + die -n "Tests failed with ${EPYTHON}"
24 fi
25 }
26
27 --
28 2.38.2

Replies

Subject Author
Re: [gentoo-dev] [PATCH] distutils-r1.eclass: support nonfatal in test Anna <cyber+gentoo@×××××.in>