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.

[1]: 
https://userbase.kde.org/KDE_System_Administration/Environment_Variables#KDE_DEBUG

Signed-off-by: James Beddek <tel...@posteo.de>
---
 eclass/ecm.eclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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,
-- 
2.33.1


Reply via email to