* [gentoo-commits] proj/kde:master commit in: kde-plasma/milou/, kde-plasma/milou/files/
@ 2020-07-14 18:36 Andreas Sturmlechner
0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2020-07-14 18:36 UTC (permalink / raw
To: gentoo-commits
commit: 1353db8f3aaf7cf64945f2e60bc049be0a755e97
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 14 18:35:22 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Jul 14 18:35:26 2020 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=1353db8f
kde-plasma/milou: Disable test dir
Reported-by: Duncan <1i5t5.duncan <AT> cox.net>
Closes: https://bugs.gentoo.org/732584
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../files/milou-5.19.80-disable-manual-tests.patch | 29 ++++++++++++++++++++++
kde-plasma/milou/milou-5.19.49.9999.ebuild | 2 ++
kde-plasma/milou/milou-9999.ebuild | 2 ++
3 files changed, 33 insertions(+)
diff --git a/kde-plasma/milou/files/milou-5.19.80-disable-manual-tests.patch b/kde-plasma/milou/files/milou-5.19.80-disable-manual-tests.patch
new file mode 100644
index 0000000000..a9e3b029f9
--- /dev/null
+++ b/kde-plasma/milou/files/milou-5.19.80-disable-manual-tests.patch
@@ -0,0 +1,29 @@
+From b239834faa093a972bd7ca33296484609f121a3b Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Tue, 14 Jul 2020 20:24:01 +0200
+Subject: [PATCH] Disable test dir based on BUILD_TESTING or unavailability of
+ Qt5::Test
+
+These tests are manual; an attempt to run them ended in failure.
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ lib/CMakeLists.txt | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
+index a739c5c..92dd0be 100644
+--- a/lib/CMakeLists.txt
++++ b/lib/CMakeLists.txt
+@@ -39,4 +39,7 @@ install(TARGETS milou EXPORT MilouLibraryTargets ${KDE_INSTALL_TARGETS_DEFAULT_A
+
+ add_subdirectory(qml)
+ add_subdirectory(previews)
+-add_subdirectory(test)
++
++if(BUILD_TESTING AND TARGET Qt5::Test)
++ add_subdirectory(test)
++endif()
+--
+2.27.0
+
diff --git a/kde-plasma/milou/milou-5.19.49.9999.ebuild b/kde-plasma/milou/milou-5.19.49.9999.ebuild
index bf21b90201..05f28d80ad 100644
--- a/kde-plasma/milou/milou-5.19.49.9999.ebuild
+++ b/kde-plasma/milou/milou-5.19.49.9999.ebuild
@@ -31,3 +31,5 @@ DEPEND="
>=kde-frameworks/plasma-${KFMIN}:5
"
RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-5.19.80-disable-manual-tests.patch" ) # bug 732584
diff --git a/kde-plasma/milou/milou-9999.ebuild b/kde-plasma/milou/milou-9999.ebuild
index 176564440e..ebf784628a 100644
--- a/kde-plasma/milou/milou-9999.ebuild
+++ b/kde-plasma/milou/milou-9999.ebuild
@@ -31,3 +31,5 @@ DEPEND="
>=kde-frameworks/plasma-${KFMIN}:5
"
RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-5.19.80-disable-manual-tests.patch" ) # bug 732584
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-14 18:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-14 18:36 [gentoo-commits] proj/kde:master commit in: kde-plasma/milou/, kde-plasma/milou/files/ Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox