[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
102/115: gnu: glib: Disable failing test.
From: |
guix-commits |
Subject: |
102/115: gnu: glib: Disable failing test. |
Date: |
Fri, 7 May 2021 16:56:52 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 4049d899a0d884d9bda60308b9fa9d68417958e9
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 | 16 +++-----------
gnu/packages/patches/glib-skip-failing-test.patch | 27 +++++++++++++++++++++++
3 files changed, 31 insertions(+), 13 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 1e96394..fdfc2cf 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1088,6 +1088,7 @@ dist_patch_DATA =
\
%D%/packages/patches/ghostscript-no-header-uuid.patch \
%D%/packages/patches/ghostscript-no-header-creationdate.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 c8569f6..c71322d 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -3,7 +3,7 @@
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2021 Mark H Weaver
<mhw@netris.org>
-;;; Copyright © 2016, 2020 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
;;; Copyright © 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017 Petter <petter@mykolab.ch>
@@ -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
+
- 89/115: gnu: iqa: Correct source uri., (continued)
- 89/115: gnu: iqa: Correct source uri., guix-commits, 2021/05/07
- 94/115: gnu: gst-plugins-base: Enable more features., guix-commits, 2021/05/07
- 95/115: gnu: gst-plugins-good: Update to 1.18.4., guix-commits, 2021/05/07
- 96/115: gnu: gst-plugins-ugly: Update to 1.18.4., guix-commits, 2021/05/07
- 99/115: gnu: gst-plugins-bad: Add missing inputs to enable more features., guix-commits, 2021/05/07
- 98/115: gnu: gst-plugins-bad: Update to 1.18.4., guix-commits, 2021/05/07
- 101/115: gnu: cairo: Reintroduce security patches [security fixes]., guix-commits, 2021/05/07
- 111/115: gnu: python-pycairo: Update to 1.20.0., guix-commits, 2021/05/07
- 105/115: gnu: pango: Use meson-0.55, as required by the project., guix-commits, 2021/05/07
- 110/115: gnu: w3m: Update to 0.5.3+git20210102., guix-commits, 2021/05/07
- 102/115: gnu: glib: Disable failing test.,
guix-commits <=
- 05/115: gnu: glib-with-documentation: Make some cosmetic changes., guix-commits, 2021/05/07
- 109/115: gnu: gnutls: Enable PKCS#11 support., guix-commits, 2021/05/07
- 108/115: gnu: glib-networking: Update home-page, synopsis, description and license., guix-commits, 2021/05/07
- 104/115: gnu: docbook-xsl: Update to 1.79.2., guix-commits, 2021/05/07
- 107/115: gnu: glib-networking: Enable libproxy and openssl support., guix-commits, 2021/05/07
- 112/115: gnu: python-pygobject: Update to 3.40.1., guix-commits, 2021/05/07
- 106/115: gnu: glib-networking: Update to 2.68.0., guix-commits, 2021/05/07
- 114/115: gnu: gtkmm@2: Override inheritance of certain changes from gtkmm., guix-commits, 2021/05/07