[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
355/377: gnu: glib: Disable failing test.
From: |
guix-commits |
Subject: |
355/377: gnu: glib: Disable failing test. |
Date: |
Thu, 2 Sep 2021 17:56:21 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 981e4dcdbae9f12e753943fd96a87efd13e91922
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Apr 20 16:27:44 2021 +0300
gnu: glib: Disable failing test.
* gnu/packages/glib.scm (glib)[source]: Add patch.
[arguments]: Remove custom 'increase-test-timeout phase.
* gnu/packages/patches/glib-skip-failing-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
---
gnu/local.mk | 1 +
gnu/packages/glib.scm | 14 ++----------
gnu/packages/patches/glib-skip-failing-test.patch | 27 +++++++++++++++++++++++
3 files changed, 30 insertions(+), 12 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index a4b1134..0989eff 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1114,6 +1114,7 @@ dist_patch_DATA =
\
%D%/packages/patches/ghostscript-no-header-creationdate.patch \
%D%/packages/patches/giara-fix-login.patch \
%D%/packages/patches/glib-appinfo-watch.patch \
+ %D%/packages/patches/glib-skip-failing-test.patch \
%D%/packages/patches/glibc-CVE-2018-11236.patch \
%D%/packages/patches/glibc-CVE-2018-11237.patch \
%D%/packages/patches/glibc-CVE-2019-7309.patch \
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 4659d13..5fb266c 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -186,7 +186,8 @@ shared NFS home directories.")
(sha256
(base32 "1sh3h6b734cxhdd1qlzvhxq6rc7k73dsisap5y3s419s9xc4ywv7"))
(patches
- (search-patches "glib-appinfo-watch.patch"))
+ (search-patches "glib-appinfo-watch.patch"
+ "glib-skip-failing-test.patch"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -202,17 +203,6 @@ shared NFS home directories.")
#:configure-flags '("-Dman=true")
#:phases
(modify-phases %standard-phases
- ;; TODO: Remove the conditional in the next core-updates cycle.
- ;; Needed to build glib on slower ARM nodes.
- ,@(if (string-prefix? "arm" (%current-system))
- `((add-after 'unpack 'increase-test-timeout
- (lambda _
- (substitute* "meson.build"
- (("test_timeout = 60")
- "test_timeout = 90")
- (("test_timeout_slow = 120")
- "test_timeout_slow = 180")))))
- '())
(add-after 'unpack 'disable-failing-tests
(lambda _
(with-directory-excursion "glib/tests"
diff --git a/gnu/packages/patches/glib-skip-failing-test.patch
b/gnu/packages/patches/glib-skip-failing-test.patch
new file mode 100644
index 0000000..c7706aa
--- /dev/null
+++ b/gnu/packages/patches/glib-skip-failing-test.patch
@@ -0,0 +1,27 @@
+This test timed out on powerpc-linux even after extending the
+test_timeout_slow to 1800 seconds. Previously we tried to work around
+this test by extending test_timeout_slow by 1.5 its previous value.
+
+---
+ gio/tests/meson.build | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/gio/tests/meson.build b/gio/tests/meson.build
+index a926ae0..4fdbe7a 100644
+--- a/gio/tests/meson.build
++++ b/gio/tests/meson.build
+@@ -317,10 +317,6 @@ if host_machine.system() != 'windows'
+ 'extra_sources' : [extra_sources, gdbus_test_codegen_generated,
gdbus_test_codegen_generated_interface_info],
+ 'c_args' : ['-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32'],
+ },
+- 'gdbus-threading' : {
+- 'extra_sources' : extra_sources,
+- 'suite' : ['slow'],
+- },
+ 'gmenumodel' : {
+ 'extra_sources' : extra_sources,
+ 'suite' : ['slow'],
+
+--
+2.31.1
+
- 344/377: gnu: zbar: Update to 0.23.90., (continued)
- 344/377: gnu: zbar: Update to 0.23.90., guix-commits, 2021/09/02
- 345/377: gnu: gstreamer: Update to 1.18.4., guix-commits, 2021/09/02
- 346/377: gnu: gst-plugins-base: Update to 1.18.4., guix-commits, 2021/09/02
- 347/377: gnu: gst-plugins-base: Enable more features., guix-commits, 2021/09/02
- 348/377: gnu: gst-plugins-good: Update to 1.18.4., guix-commits, 2021/09/02
- 349/377: gnu: gst-plugins-ugly: Update to 1.18.4., guix-commits, 2021/09/02
- 351/377: gnu: gst-plugins-bad: Update to 1.18.4., guix-commits, 2021/09/02
- 353/377: gnu: gst-editing-services: Update to 1.18.4., guix-commits, 2021/09/02
- 352/377: gnu: gst-plugins-bad: Add missing inputs to enable more features., guix-commits, 2021/09/02
- 350/377: gnu: gst-libav: Update to 1.18.4., guix-commits, 2021/09/02
- 355/377: gnu: glib: Disable failing test.,
guix-commits <=
- 357/377: gnu: docbook-xsl: Update to 1.79.2., guix-commits, 2021/09/02
- 132/377: gnu: Add r-mmwrweek., guix-commits, 2021/09/02
- 133/377: gnu: Add r-crul., guix-commits, 2021/09/02
- 138/377: gnu: Add r-zoib., guix-commits, 2021/09/02
- 142/377: gnu: Add rust-nix-0.22., guix-commits, 2021/09/02
- 140/377: gnu: rust-thiserror-1: Update to 1.0.26., guix-commits, 2021/09/02
- 147/377: gnu: Add rust-polars-core-0.15., guix-commits, 2021/09/02
- 149/377: gnu: Add rust-polars-io-0.15., guix-commits, 2021/09/02
- 150/377: gnu: Add rust-polars-lazy-0.15., guix-commits, 2021/09/02
- 151/377: gnu: Add rust-polars-0.15., guix-commits, 2021/09/02