From 323b59ccbd7ebf199f934eeeab8fc23ca881b9db Mon Sep 17 00:00:00 2001 From: James Beddek Date: Wed, 20 Oct 2021 21:34:39 +1300 Subject: 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 Closes: https://github.com/gentoo/gentoo/pull/22643 Signed-off-by: Sam James --- eclass/ecm.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'eclass/ecm.eclass') diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass index a2c8ed1c954..5ae6e73401e 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, -- cgit v1.2.3