From: "Johannes Huber" <johu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/plasma-workspace/, kde-plasma/plasma-workspace/files/
Date: Thu, 29 Mar 2018 18:00:50 +0000 (UTC) [thread overview]
Message-ID: <1522346438.0ac1806c80c3c2ac960ccdf5bb16813493c289e2.johu@gentoo> (raw)
commit: 0ac1806c80c3c2ac960ccdf5bb16813493c289e2
Author: Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 29 18:00:38 2018 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Thu Mar 29 18:00:38 2018 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=0ac1806c
kde-plasma/plasma-workspace: Make tests optional again
Package-Manager: Portage-2.3.26, Repoman-2.3.7
.../plasma-workspace-5.12.80-tests-optional.patch | 23 ++++++++++++----------
.../plasma-workspace/plasma-workspace-9999.ebuild | 1 +
2 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.12.80-tests-optional.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.12.80-tests-optional.patch
index 73979f73b0..e26b27e8c3 100644
--- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.12.80-tests-optional.patch
+++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.12.80-tests-optional.patch
@@ -1,14 +1,17 @@
---- a/dataengines/notifications/CMakeLists.txt 2018-01-31 19:54:26.608634042 -0700
-+++ b/dataengines/notifications/CMakeLists.txt 2018-01-31 21:00:17.040830824 -0700
-@@ -33,6 +33,8 @@ install(FILES notifications.operations D
-
- #unit test
-
--add_executable(notification_test notificationsanitizer.cpp notifications_test.cpp)
+diff --git a/dataengines/notifications/CMakeLists.txt b/dataengines/notifications/CMakeLists.txt
+index 8a90cb59..597b3f7e 100644
+--- a/dataengines/notifications/CMakeLists.txt
++++ b/dataengines/notifications/CMakeLists.txt
+@@ -46,7 +46,8 @@ ecm_qt_declare_logging_category(notifications_test_SRCS HEADER debug.h
+ IDENTIFIER NOTIFICATIONS
+ CATEGORY_NAME kde.dataengine.notifications`
+ DEFAULT_SEVERITY Info)
+-
+-add_executable(notification_test ${notifications_test_SRCS})
-target_link_libraries(notification_test Qt5::Test Qt5::Core)
-ecm_mark_as_test(notification_test)
+if(BUILD_TESTING)
-+ add_executable(notification_test notificationsanitizer.cpp notifications_test.cpp)
-+ target_link_libraries(notification_test Qt5::Test Qt5::Core)
-+ ecm_mark_as_test(notification_test)
++ add_executable(notification_test ${notifications_test_SRCS})
++ target_link_libraries(notification_test Qt5::Test Qt5::Core)
++ ecm_mark_as_test(notification_test)
+endif()
diff --git a/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild
index a33002f4fe..21b940bcc9 100644
--- a/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild
+++ b/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild
@@ -125,6 +125,7 @@ PATCHES=(
"${FILESDIR}/${PN}-5.4-startkde-script.patch"
"${FILESDIR}/${PN}-5.10-startplasmacompositor-script.patch"
"${FILESDIR}/${PN}-5.10.4-unused-dep.patch"
+ "${FILESDIR}/${PN}-5.12.80-tests-optional.patch"
)
RESTRICT+=" test"
next reply other threads:[~2018-03-29 18:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-29 18:00 Johannes Huber [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-05-29 21:13 [gentoo-commits] proj/kde:master commit in: kde-plasma/plasma-workspace/, kde-plasma/plasma-workspace/files/ Andreas Sturmlechner
2020-06-21 21:59 Andreas Sturmlechner
2019-10-29 22:01 Andreas Sturmlechner
2019-07-24 11:10 Andreas Sturmlechner
2019-07-20 20:08 Andreas Sturmlechner
2018-11-10 18:50 Andreas Sturmlechner
2018-02-18 13:35 Andreas Sturmlechner
2017-08-02 23:22 Andreas Sturmlechner
2017-07-27 18:19 Andreas Sturmlechner
2016-12-31 21:45 Andreas Sturmlechner
2016-06-15 12:38 Michael Palimaka
2015-11-26 16:06 Michael Palimaka
2015-05-31 21:03 Johannes Huber
2015-02-12 22:39 Johannes Huber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1522346438.0ac1806c80c3c2ac960ccdf5bb16813493c289e2.johu@gentoo \
--to=johu@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox