1 |
The KDE_DEBUG variable [1] prevents crash handlers such as DrKonqi from launching |
2 |
if a test were to segfault. |
3 |
|
4 |
This prevents a hanging test phase where DrKonqi has launched and is waiting |
5 |
for input on the virtx display. |
6 |
|
7 |
[1]: https://userbase.kde.org/KDE_System_Administration/Environment_Variables#KDE_DEBUG |
8 |
|
9 |
Signed-off-by: James Beddek <telans@××××××.de> |
10 |
--- |
11 |
eclass/ecm.eclass | 3 ++- |
12 |
1 file changed, 2 insertions(+), 1 deletion(-) |
13 |
|
14 |
diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass |
15 |
index a2c8ed1c954..5ae6e73401e 100644 |
16 |
--- a/eclass/ecm.eclass |
17 |
+++ b/eclass/ecm.eclass |
18 |
@@ -508,7 +508,8 @@ ecm_src_test() { |
19 |
export $(dbus-launch) |
20 |
fi |
21 |
|
22 |
- cmake_src_test |
23 |
+ # KDE_DEBUG stops crash handlers from launching and hanging the test phase |
24 |
+ KDE_DEBUG=1 cmake_src_test |
25 |
} |
26 |
|
27 |
# When run as normal user during ebuild development with the ebuild command, |
28 |
-- |
29 |
2.33.1 |