[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: glog: Disable signal-handler unit tests.
From: |
Eric Bavier |
Subject: |
01/02: gnu: glog: Disable signal-handler unit tests. |
Date: |
Thu, 4 Jan 2018 21:35:46 -0500 (EST) |
bavier pushed a commit to branch master
in repository guix.
commit 17e1e21603e7cba622cf4ec41c0e1467972fd449
Author: Eric Bavier <address@hidden>
Date: Thu Dec 7 16:15:38 2017 -0600
gnu: glog: Disable signal-handler unit tests.
* gnu/packages/logging.scm (glog)[arguments]: Add 'disable-signal-tests'
phase.
---
gnu/packages/logging.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm
index 6f9056d..713435c 100644
--- a/gnu/packages/logging.scm
+++ b/gnu/packages/logging.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2016 Ricardo Wurmus <address@hidden>
;;; Copyright © 2016, 2017 Ludovic Courtès <address@hidden>
;;; Copyright © 2017 Stefan Reichör <address@hidden>
+;;; Copyright © 2017 Eric Bavier <address@hidden>
;;;
;;; 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.