1 |
On Fri, 2023-01-06 at 00:20 +0000, alexey+gentoo@××××××××.org wrote: |
2 |
> From: Alexey Sokolov <alexey+gentoo@××××××××.org> |
3 |
> |
4 |
> Rationale: |
5 |
> |
6 |
> src_test() { |
7 |
> virtx distutils-r1_src_test |
8 |
> } |
9 |
> |
10 |
> If the test fails with "die", Xvfb keeps running forever; but it's |
11 |
> cleaned up correctly with die -n |
12 |
> |
13 |
> Signed-off-by: Alexey Sokolov <alexey+gentoo@××××××××.org> |
14 |
> --- |
15 |
> eclass/distutils-r1.eclass | 4 ++-- |
16 |
> 1 file changed, 2 insertions(+), 2 deletions(-) |
17 |
> |
18 |
> diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass |
19 |
> index 371d52bcb7e..8896768d3ce 100644 |
20 |
> --- a/eclass/distutils-r1.eclass |
21 |
> +++ b/eclass/distutils-r1.eclass |
22 |
> @@ -1,4 +1,4 @@ |
23 |
> -# Copyright 1999-2022 Gentoo Authors |
24 |
> +# Copyright 1999-2023 Gentoo Authors |
25 |
> # Distributed under the terms of the GNU General Public License v2 |
26 |
> |
27 |
> # @ECLASS: distutils-r1.eclass |
28 |
> @@ -1559,7 +1559,7 @@ distutils-r1_python_test() { |
29 |
> esac |
30 |
> |
31 |
> if [[ ${?} -ne 0 ]]; then |
32 |
> - die "Tests failed with ${EPYTHON}" |
33 |
> + die -n "Tests failed with ${EPYTHON}" |
34 |
> fi |
35 |
> } |
36 |
> |
37 |
|
38 |
LGTM. I need to think if we have any changes pending. |
39 |
|
40 |
-- |
41 |
Best regards, |
42 |
Michał Górny |