summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJames Beddek <telans@posteo.de>2021-10-20 21:34:39 +1300
committerSam James <sam@gentoo.org>2021-11-19 03:46:24 +0000
commita649c728a3bb22f5a0213ea98ffe30dc166bb915 (patch)
tree5c695b80ea7b3a38311be3ba4f6ee061ea0a70aa /eclass
parentprofiles/arch/hppa: mask dev-python/anyio[doc] (diff)
downloadgentoo-a649c728a3bb22f5a0213ea98ffe30dc166bb915.tar.gz
gentoo-a649c728a3bb22f5a0213ea98ffe30dc166bb915.tar.bz2
gentoo-a649c728a3bb22f5a0213ea98ffe30dc166bb915.zip
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@posteo.de> Closes: https://github.com/gentoo/gentoo/pull/22643 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ecm.eclass3
1 files changed, 2 insertions, 1 deletions
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,