guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: gnome-vfs: Tolerate 'test-async-cancel' failures, take two.


From: Mark H. Weaver
Subject: 01/01: gnu: gnome-vfs: Tolerate 'test-async-cancel' failures, take two.
Date: Fri, 17 Apr 2015 15:43:09 +0000

mhw pushed a commit to branch core-updates
in repository guix.

commit db5127d889d29895c9bb72337598001f7f8bdb53
Author: Mark H Weaver <address@hidden>
Date:   Fri Apr 17 11:40:34 2015 -0400

    gnu: gnome-vfs: Tolerate 'test-async-cancel' failures, take two.
    
    * gnu/packages/gnome.scm (gnome-vfs)[arguments]: Remove 'XFAIL_TESTS' make
      flag, which caused 'make check' to fail if the test unexpectedly passed.
      Add 'patch-test-async-cancel-to-never-fail' phase.
---
 gnu/packages/gnome.scm |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 487dd8d..f508ba9 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -884,10 +884,7 @@ designed to be accessed through the MIME functions in 
GnomeVFS.")
                 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
     (build-system gnu-build-system)
     (arguments
-     `(;; XXX The 'test-async-cancel' test often fails.
-       #:make-flags '("XFAIL_TESTS=test-async-cancel")
-
-       #:phases
+     `(#:phases
        (alist-cons-before
         'configure 'ignore-deprecations
         (lambda _
@@ -895,7 +892,12 @@ designed to be accessed through the MIME functions in 
GnomeVFS.")
                          "daemon/Makefile.in")
             (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
           #t)
-        %standard-phases)))
+        (alist-cons-before
+         'configure 'patch-test-async-cancel-to-never-fail
+         (lambda _
+           (substitute* "test/test-async-cancel.c"
+             (("EXIT_FAILURE") "77")))
+         %standard-phases))))
     (inputs `(("glib" ,glib)
               ("libxml2" ,libxml2)
               ("dbus-glib" ,dbus-glib)



reply via email to

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