[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
102/122: gnu: glib: Disable failing test.
From: |
guix-commits |
Subject: |
102/122: gnu: glib: Disable failing test. |
Date: |
Wed, 30 Jun 2021 18:26:46 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit f22861bafb319d68db24fe0c5b93aa8eab0f652c
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 1602799..e87d491 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1099,6 +1099,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 b0c7a72..7332350 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
+
- 113/122: gnu: gtkmm: Change build-system and adjust arguments accordingly., (continued)
- 113/122: gnu: gtkmm: Change build-system and adjust arguments accordingly., guix-commits, 2021/06/30
- 71/122: gnu: wayland: Fix and move documentation., guix-commits, 2021/06/30
- 72/122: gnu: wayland: Update synopsis, description and license., guix-commits, 2021/06/30
- 79/122: gnu: gtk+: Add missing inputs., guix-commits, 2021/06/30
- 85/122: gnu: ibus: Enable documentation., guix-commits, 2021/06/30
- 87/122: gnu: ibus: Enable tests., guix-commits, 2021/06/30
- 68/122: gnu: json-glib: Enable documentation and man-pages., guix-commits, 2021/06/30
- 80/122: gnu: gtk+: Enable cloud-providers support., guix-commits, 2021/06/30
- 93/122: gnu: gst-plugins-base: Update to 1.18.4., guix-commits, 2021/06/30
- 101/122: gnu: cairo: Reintroduce security patches [security fixes]., guix-commits, 2021/06/30
- 102/122: gnu: glib: Disable failing test.,
guix-commits <=
- 106/122: gnu: glib-networking: Update to 2.68.0., guix-commits, 2021/06/30
- 103/122: gnu: meson-0.55: Update to 0.55.3., guix-commits, 2021/06/30
- 115/122: gnu: libsoup: Disable ssl-test., guix-commits, 2021/06/30
- 114/122: gnu: gtkmm@2: Override inheritance of certain changes from gtkmm., guix-commits, 2021/06/30
- 116/122: gnu: libepoxy: Propagate mesa., guix-commits, 2021/06/30
- 117/122: gnu: tracker: Enable some features., guix-commits, 2021/06/30
- 118/122: gnu: tracker: Enable documentation., guix-commits, 2021/06/30
- 119/122: gnu: tracker: Update to 3.1.1 and make related changes., guix-commits, 2021/06/30
- 120/122: gnu: tracker: Propagate dependencies as per pkg-config file., guix-commits, 2021/06/30
- 122/122: gnu: tracker-miners: Enable some features., guix-commits, 2021/06/30