guix-commits
[Top][All Lists]
Advanced

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

02/28: gnu: libfaketime: Fix failing test.


From: guix-commits
Subject: 02/28: gnu: libfaketime: Fix failing test.
Date: Wed, 8 Jan 2020 15:58:44 -0500 (EST)

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

commit f09948fd442c22f0b1873ff40b64827a0bbe8a2c
Author: Marius Bakke <address@hidden>
AuthorDate: Fri Dec 6 18:22:42 2019 +0100

    gnu: libfaketime: Fix failing test.
    
    * gnu/packages/check.scm (libfaketime)[arguments]: Set environment variable
    before building.
---
 gnu/packages/check.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index f61e964..7f54863 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2298,6 +2298,12 @@ portable to just about any platform.")
                       (let ((out (assoc-ref outputs "out")))
                         (setenv "CC" "gcc")
                         (setenv "PREFIX" out)
+
+                        ;; XXX: Without this flag, the CLOCK_REALTIME test 
hangs
+                        ;; indefinitely.  See README.packagers for more 
information.
+                        ;; Try removing this for future versions of 
libfaketime.
+                        (setenv "FAKETIME_COMPILE_CFLAGS" 
"-DFORCE_MONOTONIC_FIX")
+
                         #t)))
                   (add-before 'check 'pre-check
                     (lambda _



reply via email to

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