guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: perl-gtk2: Skip broken test.


From: guix-commits
Subject: branch master updated: gnu: perl-gtk2: Skip broken test.
Date: Mon, 13 Jan 2020 12:26:56 -0500

This is an automated email from the git hooks/post-receive script.

ambrevar pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 8fcb607  gnu: perl-gtk2: Skip broken test.
8fcb607 is described below

commit 8fcb607780dc9809949c573865c5e1a04770d0c5
Author: Pierre Neidhardt <address@hidden>
AuthorDate: Mon Jan 13 18:25:34 2020 +0100

    gnu: perl-gtk2: Skip broken test.
    
    * gnu/packages/gtk.scm (perl-gtk2)[arguments]: Skip broken test.
---
 gnu/packages/gtk.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index db88c84..a3e1982 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1328,6 +1328,16 @@ produces identical output on all those targets.")
      `(("gtk+" ,gtk+-2)))
     (propagated-inputs
      `(("perl-pango" ,perl-pango)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'build 'remove-broken-test
+           ;; See https://gitlab.gnome.org/GNOME/perl-gtk2/issues/3.
+           (lambda _
+             (substitute* "t/GdkPixbuf.t"
+               (("tests => 112") "tests => 111")
+               (("ok \\(defined \\$pixbuf, \"Don't crash on partial pixmap 
data\"\\);")
+                "# ok (defined $pixbuf, \"Don't crash on partial pixmap 
data\");")))))))
     (home-page "https://metacpan.org/release/Gtk2";)
     (synopsis "Perl interface to the 2.x series of the Gimp Toolkit library")
     (description "Perl bindings to the 2.x series of the Gtk+ widget set.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]