[neon/extras/tellico/Neon/release] debian: disable fetchertest for now
Pino Toscano
null at kde.org
Thu Sep 8 17:48:54 BST 2022
Git commit dda8ab20dabe7ca323bcd77121c953324b39041f by Pino Toscano.
Committed on 21/08/2021 at 09:24.
Pushed by jriddell into branch 'Neon/release'.
disable fetchertest for now
M +3 -0 debian/changelog
A +1 -0 debian/patches/series
A +26 -0 debian/patches/tests-disable-fetchertest.diff
https://invent.kde.org/neon/extras/tellico/commit/dda8ab20dabe7ca323bcd77121c953324b39041f
diff --git a/debian/changelog b/debian/changelog
index 21a5f6c..d11c7db 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,8 @@
tellico (3.4.1-2) UNRELEASED; urgency=medium
+ [ Pino Toscano ]
+ * Disable fetchertest for now, as it is seems it tries to do network
+ connections; patch tests-disable-fetchertest.diff.
-- Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org> Sat, 21 Aug 2021 11:20:16 +0200
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..15de621
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+tests-disable-fetchertest.diff
diff --git a/debian/patches/tests-disable-fetchertest.diff b/debian/patches/tests-disable-fetchertest.diff
new file mode 100644
index 0000000..a0aebed
--- /dev/null
+++ b/debian/patches/tests-disable-fetchertest.diff
@@ -0,0 +1,26 @@
+Author: Pino Toscano <pino at debian.org>
+Description: Disable fetchertest
+ It seems it actually runs the fetchers, hitting the network.
+Last-Update: 2021-08-21
+Forwarded: no
+
+--- a/src/tests/CMakeLists.txt
++++ b/src/tests/CMakeLists.txt
+@@ -424,6 +424,8 @@ if(${KF5KIO_VERSION} VERSION_GREATER "5.
+ target_link_libraries(fetcherstest KF5::KIOGui)
+ endif(${KF5KIO_VERSION} VERSION_GREATER "5.18.0")
+
++IF(BUILD_FETCHER_TESTS)
++
+ # the fetch library really depends on the GUI static library
+ # but rather than linking all of that in, selectively choose the
+ # specific classes used
+@@ -443,6 +445,8 @@ ecm_add_test(fetchertest.cpp
+ LINK_LIBRARIES fetch translatorstest ${TELLICO_TEST_LIBS} KF5::XmlGui KF5::SonnetCore KF5::SonnetUi
+ )
+
++ENDIF(BUILD_FETCHER_TESTS)
++
+ # the PDF importer uses CrossRefFetcher, so include the test near the fetchers section
+ ecm_add_test(pdftest.cpp
+ ../translators/pdfimporter.cpp
More information about the Neon-commits
mailing list