me
/
guix
Archived
1
0
Fork 0

gnu: glog: Disable signal-handler unit tests.

* gnu/packages/logging.scm (glog)[arguments]: Add 'disable-signal-tests' phase.
master
Eric Bavier 2017-12-07 16:15:38 -06:00 committed by Eric Bavier
parent 72687ca5d2
commit 17e1e21603
No known key found for this signature in database
GPG Key ID: FD73CAC719D32566
1 changed files with 9 additions and 1 deletions

View File

@ -2,6 +2,7 @@
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016, 2017 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at>
;;; Copyright © 2017 Eric Bavier <bavier@member.fsf.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -84,7 +85,14 @@ staying as close to their API as is reasonable.")
;; mismatch, so run the whole thing.
(delete-file "test-driver")
(delete-file "configure") ;it's read-only
(zero? (system* "autoreconf" "-vfi")))))))
(zero? (system* "autoreconf" "-vfi"))))
(add-before 'check 'disable-signal-tests
(lambda _
;; 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)))))
(synopsis "C++ logging library")
(description
"Google glog is a library that implements application-level logging.