gnu: weechat: Disable tests on non-Intel architectures.

* gnu/packages/irc.scm (weechat)[arguments]: Disable tests on non-Intel
architectures.
This commit is contained in:
Efraim Flashner 2017-12-23 20:39:18 +02:00
parent 44dd001d87
commit 6a069618ab
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -58,7 +58,9 @@ (define-module (gnu packages irc)
#:use-module (gnu packages tcl)
#:use-module (gnu packages time)
#:use-module (gnu packages tls)
#:use-module (gnu packages web))
#:use-module (gnu packages web)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-26))
(define-public quassel
(package
@ -182,6 +184,11 @@ (define-public weechat
(arguments
`(#:configure-flags
(list "-DENABLE_TESTS=ON") ; make test fails otherwise
;; Tests hang indefinately on non-Intel platforms.
#:tests? ,(if (any (cute string-prefix? <> (or (%current-target-system)
(%current-system)))
'("i686" "x86_64"))
'#t '#f)
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'disable-failing-tests