guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: pspp: Fix failing test suite.


From: guix-commits
Subject: branch master updated: gnu: pspp: Fix failing test suite.
Date: Sat, 26 Feb 2022 09:52:23 -0500

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

nckx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new e1a4770fb0 gnu: pspp: Fix failing test suite.
e1a4770fb0 is described below

commit e1a4770fb07cfcea7c0c03d880ac253167a24d6d
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Feb 20 01:00:00 2022 +0100

    gnu: pspp: Fix failing test suite.
    
    * gnu/packages/statistics.scm (pspp)[arguments]: Add a new 'prepare-tests 
phase.
---
 gnu/packages/statistics.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index bf384726de..f32183bf89 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -34,6 +34,7 @@
 ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
 
 (define-module (gnu packages statistics)
+  #:use-module (guix gexp)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
@@ -109,6 +110,14 @@
        (base32
         "0lqrash677b09zxdlxp89z6k02y4i23mbqg83956dwl69wc53dan"))))
     (build-system gnu-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-before 'check 'prepare-tests
+                 ;; Prevent irrelevant errors that cause test output 
mismatches:
+                 ;; ‘Fontconfig error: No writable cache directories’
+                 (lambda _
+                   (setenv "XDG_CACHE_HOME" (getcwd)))))))
     (inputs
      (list cairo
            gettext-minimal



reply via email to

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