06.01.2023 00:03, Anna пишет:
On 2023-01-05 23:55, alexey+gen...@asokolov.org wrote:
From: Alexey Sokolov <alexey+gen...@asokolov.org>

        if [[ ${?} -ne 0 ]]; then
-               die "Tests failed with ${EPYTHON}"
+               die -n "Tests failed with ${EPYTHON}"

I don't think "nonfatal" should be used with tests. Any valid use cases
for that?

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

--
Best regards,
Alexey "DarthGandalf" Sokolov


Reply via email to