summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-07-19 16:33:54 +0200
committerMarius Bakke <mbakke@fastmail.com>2019-07-19 16:33:54 +0200
commitdd9560a050ed99952046a2bbd99dc6b331100c63 (patch)
tree626df11f7116ba7c0c5bee7647308e81a4a2d3cb
parentce5d9ec875156f3de7479e861731edf48c984c16 (diff)
downloadguix-dd9560a050ed99952046a2bbd99dc6b331100c63.tar.gz
gnu: glog: Disable test that fails on non-x86_64 platforms.
This was removed in 4678cc46a4c1e0538402d8df6d85d3caedc7f00b, but turned out
to still be needed.

* gnu/packages/logging.scm (glog)[arguments]: New field.
-rw-r--r--gnu/packages/logging.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm
index 42404636f6..1481f5b5ee 100644
--- a/gnu/packages/logging.scm
+++ b/gnu/packages/logging.scm
@@ -75,6 +75,16 @@ staying as close to their API as is reasonable.")
                 "1xd3maiipfbxmhc9rrblc5x52nxvkwxp14npg31y5njqvkvzax9b"))
               (file-name (git-file-name name version))))
     (build-system gnu-build-system)
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (add-before 'check 'disable-signal-tests
+                    (lambda _
+                      ;; XXX: This test fails on non x86_64.  See e.g.
+                      ;; https://github.com/google/glog/issues/219 and
+                      ;; https://github.com/google/glog/issues/256.
+                      (substitute* "Makefile"
+                        (("\tsignalhandler_unittest_sh") "\t$(EMPTY)"))
+                      #t)))))
     (native-inputs
      `(("perl" ,perl)                             ;for tests
        ("autoconf" ,autoconf-wrapper)