From: Alexey Sokolov <alexey+gentoo@asokolov.org>
Rationale:
src_test() {
virtx distutils-r1_src_test
}
If the test fails with "die", Xvfb keeps running forever; but it's
cleaned up correctly with die -n
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
---
eclass/distutils-r1.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 371d52bcb7e..8896768d3ce 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: distutils-r1.eclass
@@ -1559,7 +1559,7 @@ distutils-r1_python_test() {
esac
if [[ ${?} -ne 0 ]]; then
- die "Tests failed with ${EPYTHON}"
+ die -n "Tests failed with ${EPYTHON}"
fi
}
On 1/6/23 01:20, alexey+gentoo@asokolov.org wrote:
If the test fails with "die", Xvfb keeps running forever; but it's
cleaned up correctly with die -n
At my tinderbox I do experience sometimes a running dirmngr process
solely running since days. /me wonders if that's the result of a similar scenario?
From: Alexey Sokolov <alexey+gentoo@asokolov.org>
Rationale:
src_test() {
virtx distutils-r1_src_test
}
If the test fails with "die", Xvfb keeps running forever; but it's
cleaned up correctly with die -n
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
---
eclass/distutils-r1.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 371d52bcb7e..8896768d3ce 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: distutils-r1.eclass
@@ -1559,7 +1559,7 @@ distutils-r1_python_test() {
esac
if [[ ${?} -ne 0 ]]; then
- die "Tests failed with ${EPYTHON}"
+ die -n "Tests failed with ${EPYTHON}"
fi
}
On 6 Jan 2023, at 16:31, Michał Górny <mgorny@gentoo.org> wrote:
On Fri, 2023-01-06 at 16:27 +0100, Toralf Förster wrote:
On 1/6/23 01:20, alexey+gentoo@asokolov.org wrote:
If the test fails with "die", Xvfb keeps running forever; but it's
cleaned up correctly with die -n
At my tinderbox I do experience sometimes a running dirmngr process
solely running since days. /me wonders if that's the result of a similar
scenario?
Normally it shouldn't be happening since Portage uses PID namespace to
kill all leftover processes.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 42:56:17 |
Calls: | 10,392 |
Files: | 14,064 |
Messages: | 6,417,217 |