commit:     42ebc07f04f79942775d30c5d7c23e682f8ec8a3
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 17 17:16:51 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Apr 17 17:25:09 2023 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=42ebc07f

kde-plasma/plasma-firewall: Fix test failure

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-plasma/plasma-firewall/plasma-firewall-5.27.49.9999.ebuild | 5 +++++
 kde-plasma/plasma-firewall/plasma-firewall-9999.ebuild         | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/kde-plasma/plasma-firewall/plasma-firewall-5.27.49.9999.ebuild 
b/kde-plasma/plasma-firewall/plasma-firewall-5.27.49.9999.ebuild
index 7c8d85f5fb..8a041a1316 100644
--- a/kde-plasma/plasma-firewall/plasma-firewall-5.27.49.9999.ebuild
+++ b/kde-plasma/plasma-firewall/plasma-firewall-5.27.49.9999.ebuild
@@ -55,6 +55,11 @@ src_configure() {
        ecm_src_configure
 }
 
+src_test() {
+       local -x QT_QPA_PLATFORM=offscreen
+       ecm_src_test
+}
+
 pkg_postinst () {
        ecm_pkg_postinst
 

diff --git a/kde-plasma/plasma-firewall/plasma-firewall-9999.ebuild 
b/kde-plasma/plasma-firewall/plasma-firewall-9999.ebuild
index 7c8d85f5fb..8a041a1316 100644
--- a/kde-plasma/plasma-firewall/plasma-firewall-9999.ebuild
+++ b/kde-plasma/plasma-firewall/plasma-firewall-9999.ebuild
@@ -55,6 +55,11 @@ src_configure() {
        ecm_src_configure
 }
 
+src_test() {
+       local -x QT_QPA_PLATFORM=offscreen
+       ecm_src_test
+}
+
 pkg_postinst () {
        ecm_pkg_postinst
 

Reply via email to