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