commit: a649c728a3bb22f5a0213ea98ffe30dc166bb915 Author: James Beddek <telans <AT> posteo <DOT> de> AuthorDate: Wed Oct 20 08:34:39 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Nov 19 03:46:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a649c728
ecm.eclass: set KDE_DEBUG=1 for ecm_src_test The KDE_DEBUG variable [1] prevents crash handlers such as DrKonqi from launching if a test were to segfault. This prevents a hanging test phase where DrKonqi has launched and is waiting for input on the virtx display. [sam: We already try to disable apport/similar crash reporters because they slow down tests, don't always play well in sandbox, and confuse users, so this seems like a natural change.] [1]: https://userbase.kde.org/KDE_System_Administration/Environment_Variables#KDE_DEBUG Signed-off-by: James Beddek <telans <AT> posteo.de> Closes: https://github.com/gentoo/gentoo/pull/22643 Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/ecm.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass index a2c8ed1c9541..5ae6e73401ef 100644 --- a/eclass/ecm.eclass +++ b/eclass/ecm.eclass @@ -508,7 +508,8 @@ ecm_src_test() { export $(dbus-launch) fi - cmake_src_test + # KDE_DEBUG stops crash handlers from launching and hanging the test phase + KDE_DEBUG=1 cmake_src_test } # When run as normal user during ebuild development with the ebuild command,
