commit:     5b24e85827bb82be892d96bed4a7eef5b088987e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 17 16:12:37 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Oct 17 16:12:37 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=5b24e858

kde-apps/dolphin: Drop tests restriction, disable known broken

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/dolphin/dolphin-20.08.49.9999.ebuild | 13 ++++++++++---
 kde-apps/dolphin/dolphin-9999.ebuild          | 13 ++++++++++---
 2 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/kde-apps/dolphin/dolphin-20.08.49.9999.ebuild 
b/kde-apps/dolphin/dolphin-20.08.49.9999.ebuild
index cc8d8e91cc..67771af600 100644
--- a/kde-apps/dolphin/dolphin-20.08.49.9999.ebuild
+++ b/kde-apps/dolphin/dolphin-20.08.49.9999.ebuild
@@ -62,8 +62,6 @@ RDEPEND="${DEPEND}
        >=kde-apps/kio-extras-${PVCUT}:5
 "
 
-RESTRICT+=" test"
-
 src_configure() {
        local mycmakeargs=(
                -DCMAKE_DISABLE_FIND_PACKAGE_PackageKitQt5=ON
@@ -72,10 +70,19 @@ src_configure() {
                $(cmake_use_find_package semantic-desktop KF5BalooWidgets)
                $(cmake_use_find_package semantic-desktop KF5FileMetaData)
        )
-
        ecm_src_configure
 }
 
+src_test() {
+       local myctestargs=(
+               # servicemenuinstaller requires ruby, no thanks
+               # dolphinmainwindowtest, kitemlistcontrollertest, 
kfileitemlistviewtest, kfileitemmodeltest hang forever
+               # placesitemmodeltest requires DBus
+               -E 
"(servicemenuinstaller|dolphinmainwindowtest|kfileitemlistviewtest|kfileitemmodeltest|kitemlistcontrollertest|placesitemmodeltest)"
+       )
+       ecm_src_test
+}
+
 pkg_postinst() {
        if [[ -z "${REPLACING_VERSIONS}" ]]; then
                elog "Optional dependencies:"

diff --git a/kde-apps/dolphin/dolphin-9999.ebuild 
b/kde-apps/dolphin/dolphin-9999.ebuild
index 5d97a87a0f..a04599ca0b 100644
--- a/kde-apps/dolphin/dolphin-9999.ebuild
+++ b/kde-apps/dolphin/dolphin-9999.ebuild
@@ -62,8 +62,6 @@ RDEPEND="${DEPEND}
        >=kde-apps/kio-extras-${PVCUT}:5
 "
 
-RESTRICT+=" test"
-
 src_configure() {
        local mycmakeargs=(
                -DCMAKE_DISABLE_FIND_PACKAGE_PackageKitQt5=ON
@@ -72,10 +70,19 @@ src_configure() {
                $(cmake_use_find_package semantic-desktop KF5BalooWidgets)
                $(cmake_use_find_package semantic-desktop KF5FileMetaData)
        )
-
        ecm_src_configure
 }
 
+src_test() {
+       local myctestargs=(
+               # servicemenuinstaller requires ruby, no thanks
+               # dolphinmainwindowtest, kitemlistcontrollertest, 
kfileitemlistviewtest, kfileitemmodeltest hang forever
+               # placesitemmodeltest requires DBus
+               -E 
"(servicemenuinstaller|dolphinmainwindowtest|kfileitemlistviewtest|kfileitemmodeltest|kitemlistcontrollertest|placesitemmodeltest)"
+       )
+       ecm_src_test
+}
+
 pkg_postinst() {
        if [[ -z "${REPLACING_VERSIONS}" ]]; then
                elog "Optional dependencies:"

Reply via email to