[Pkg-kde-extras] Bug#1017144: gammaray: FTBFS: test failed

Santiago Vila sanvila at debian.org
Sun Sep 22 23:00:48 BST 2024


tags 1017144 + patch
thanks

Hi. The following tests keep failing:

The following tests FAILED:
           2 - connectiontest-preload-filter (Failed)
           4 - connectiontest-style-filter (Failed)

Given that this is already forwarded upstream, I propose the attached patch,
which disables those two flaky tests in the meantime, as they are not reliable enough.

(The patch is adapted from the one I wrote for 2.11.3-4 a few days ago but never sent,
please double-check)

Thanks.
-------------- next part --------------
diff --git a/debian/changelog b/debian/changelog
index b00a6daa..63e44b3f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+gammaray (3.1.0+ds-2) unstable; urgency=medium
+
+  * Team upload.
+  * Disable flaky tests. Closes: #1017144.
+
+ -- Dmitry Shachnev <mitya57 at debian.org>  Sun, 22 Sep 2024 23:45:00 +0200
+
 gammaray (3.1.0+ds-1) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/patches/disable-flaky-tests.patch b/debian/patches/disable-flaky-tests.patch
new file mode 100644
index 00000000..b27b8ad9
--- /dev/null
+++ b/debian/patches/disable-flaky-tests.patch
@@ -0,0 +1,26 @@
+From: Santiago Vila <sanvila at debian.org>
+Subject: Disable flaky tests
+Bug-Debian: https://bugs.debian.org/1017144
+
+--- a/tests/CMakeLists.txt
++++ b/tests/CMakeLists.txt
+@@ -187,19 +187,6 @@
+             ${injectorType}
+             ${PROJECT_BINARY_DIR}/${BIN_INSTALL_DIR}/connectiontest
+         )
+-        add_test(
+-            connectiontest-${injectorType}-filter
+-            ${PROJECT_BINARY_DIR}/${BIN_INSTALL_DIR}/gammaray
+-            --inprocess
+-            -unittest
+-            --listen
+-            tcp://127.0.0.1
+-            -filtertest
+-            -i
+-            ${injectorType}
+-            ${PROJECT_BINARY_DIR}/${BIN_INSTALL_DIR}/connectiontest
+-        )
+-        set_tests_properties(connectiontest-${injectorType}-filter PROPERTIES ENVIRONMENT GAMMARAY_TEST_FILTER=1)
+     endforeach()
+ endif()
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 09bb28c1..d4df663a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 debian-archs-fix-build.patch
 qt-system-paths.patch
 disable-qmllint.patch
+disable-flaky-tests.patch


More information about the pkg-kde-extras mailing list