diff options
author | Michael Palimaka <kensington@gentoo.org> | 2019-05-18 12:11:21 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2019-05-18 12:12:48 +1000 |
commit | 1d88b903b943e4f5569afeb0bfea74edddc49cb1 (patch) | |
tree | 9d23587a49fdd1bba3cd153757592e09599e06ae /kde-plasma/discover/files | |
parent | dev-java/emma: arm64 stable (diff) | |
download | gentoo-1d88b903b943e4f5569afeb0bfea74edddc49cb1.tar.gz gentoo-1d88b903b943e4f5569afeb0bfea74edddc49cb1.tar.bz2 gentoo-1d88b903b943e4f5569afeb0bfea74edddc49cb1.zip |
kde-plasma/discover: fix tests
Closes: https://bugs.gentoo.org/678916
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Diffstat (limited to 'kde-plasma/discover/files')
-rw-r--r-- | kde-plasma/discover/files/discover-5.15.5-tests.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/kde-plasma/discover/files/discover-5.15.5-tests.patch b/kde-plasma/discover/files/discover-5.15.5-tests.patch new file mode 100644 index 000000000000..131a63b1e942 --- /dev/null +++ b/kde-plasma/discover/files/discover-5.15.5-tests.patch @@ -0,0 +1,38 @@ +From 03653a7d75ba8b24e28bc3adf5348ea3d0faf2b0 Mon Sep 17 00:00:00 2001 +From: Michael Palimaka <kensington@gentoo.org> +Date: Thu, 16 May 2019 19:39:44 +1000 +Subject: [PATCH] Port knsbackendtest to ecm_add_test + +Reviewers: #plasma, apol + +Reviewed By: apol + +Subscribers: asturmlechner, plasma-devel + +Tags: #plasma + +Differential Revision: https://phabricator.kde.org/D21239 +--- + libdiscover/backends/KNSBackend/tests/CMakeLists.txt | 10 +--------- + 1 file changed, 1 insertion(+), 9 deletions(-) + +diff --git a/libdiscover/backends/KNSBackend/tests/CMakeLists.txt b/libdiscover/backends/KNSBackend/tests/CMakeLists.txt +index 4fabe5ec..e64eb8ca 100644 +--- a/libdiscover/backends/KNSBackend/tests/CMakeLists.txt ++++ b/libdiscover/backends/KNSBackend/tests/CMakeLists.txt +@@ -1,11 +1,3 @@ + include_directories(..) + +-add_executable(knsbackendtest KNSBackendTest.cpp) +-add_test(knsbackendtest knsbackendtest) +-ecm_mark_as_test(knsbackendtest) +-target_link_libraries(knsbackendtest +- Discover::Common +- +- Qt5::Test Qt5::Core +- KF5::NewStuff KF5::Attica +-) ++ecm_add_test(KNSBackendTest.cpp TEST_NAME knsbackendtest LINK_LIBRARIES Discover::Common Qt5::Core Qt5::Test KF5::Attica KF5::NewStuff) +-- +2.21.0 + |