Bug#839444: libgda5: Patch to disable the failing tests

Santiago Vila sanvila at debian.org
Mon Oct 24 18:05:32 UTC 2016


Dear GNOME maintainers:

Based on the comments by Andreas in the rygel bug, I could understand
your desire to do the "right thing" and fix the failing tests, but it
surely would take time and effort, and nobody can really force you to do that.

If you decide to disable the tests, I'm attaching a patch to make it easy.
I've actually tested it (by diffing build logs), and it does what it
says it does.

Thanks a lot.
-------------- next part --------------
diff -Nru libgda5-5.2.4/debian/changelog libgda5-5.2.4/debian/changelog
--- libgda5-5.2.4/debian/changelog	2016-09-23 10:22:18.000000000 +0200
+++ libgda5-5.2.4/debian/changelog	2016-10-24 16:35:54.000000000 +0200
@@ -1,3 +1,10 @@
+libgda5 (5.2.4-3) unstable; urgency=medium
+
+  * Disable check_data_proxy and check_vcnc, as they fail randomly
+    and make the package to FTBFS (Closes: #811068, #839444).
+
+ -- Andreas Henriksson <andreas at fatal.se>  Mon, 24 Oct 2016 16:35:54 +0200
+
 libgda5 (5.2.4-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru libgda5-5.2.4/debian/patches/disable-randomly-failing-tests.patch libgda5-5.2.4/debian/patches/disable-randomly-failing-tests.patch
--- libgda5-5.2.4/debian/patches/disable-randomly-failing-tests.patch	1970-01-01 01:00:00.000000000 +0100
+++ libgda5-5.2.4/debian/patches/disable-randomly-failing-tests.patch	2016-10-24 16:34:01.000000000 +0200
@@ -0,0 +1,16 @@
+From: Santiago Vila <sanvila at debian.org>
+Subject: Disable check_data_proxy and check_vcnc, known to fail randomly, until we know why they fail
+Bug-Debian: https://bugs.debian.org/811068
+Bug-Debian: https://bugs.debian.org/839444
+
+--- libgda5-5.2.4.orig/tests/data-models/Makefile.am
++++ libgda5-5.2.4/tests/data-models/Makefile.am
+@@ -9,7 +9,7 @@ AM_CPPFLAGS = \
+ 
+ TESTS_ENVIRONMENT = GDA_TOP_SRC_DIR="$(abs_top_srcdir)" GDA_TOP_BUILD_DIR="$(abs_top_builddir)"
+ check_PROGRAMS = check_model_import check_virtual check_data_proxy check_model_copy check_pmodel check_empty_rs check_model_errors check_vcnc check_pivot
+-TESTS = check_model_import check_virtual check_data_proxy check_model_copy check_pmodel check_empty_rs check_model_errors check_vcnc check_pivot
++TESTS = check_model_import check_virtual check_model_copy check_pmodel check_empty_rs check_model_errors check_pivot
+ 
+ common_sources = \
+ 	../test-errors.h \
diff -Nru libgda5-5.2.4/debian/patches/series libgda5-5.2.4/debian/patches/series
--- libgda5-5.2.4/debian/patches/series	2016-09-23 09:56:32.000000000 +0200
+++ libgda5-5.2.4/debian/patches/series	2016-10-24 16:32:41.000000000 +0200
@@ -1,2 +1,3 @@
 01-link-sqlite-provider-against-sqlite3.patch
 Accept-SQLITE_INDEX_CONSTRAINT_LIKE-from-sqlite.patch
+disable-randomly-failing-tests.patch


More information about the pkg-gnome-maintainers mailing list