gnu: glog: Disable test that fails on non-x86_64 platforms.

This was removed in 4678cc46a4, but turned out
to still be needed.

* gnu/packages/logging.scm (glog)[arguments]: New field.
This commit is contained in:
Marius Bakke 2019-07-19 16:33:54 +02:00
parent ce5d9ec875
commit dd9560a050
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 10 additions and 0 deletions

View File

@ -75,6 +75,16 @@ staying as close to their API as is reasonable.")
"1xd3maiipfbxmhc9rrblc5x52nxvkwxp14npg31y5njqvkvzax9b")) "1xd3maiipfbxmhc9rrblc5x52nxvkwxp14npg31y5njqvkvzax9b"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system gnu-build-system) (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 (native-inputs
`(("perl" ,perl) ;for tests `(("perl" ,perl) ;for tests
("autoconf" ,autoconf-wrapper) ("autoconf" ,autoconf-wrapper)