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
1 changed files with 8 additions and 1 deletions

View File

@ -58,7 +58,9 @@
#:use-module (gnu packages tcl) #:use-module (gnu packages tcl)
#:use-module (gnu packages time) #:use-module (gnu packages time)
#:use-module (gnu packages tls) #: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 (define-public quassel
(package (package
@ -182,6 +184,11 @@ SILC and ICB protocols via plugins.")
(arguments (arguments
`(#:configure-flags `(#:configure-flags
(list "-DENABLE_TESTS=ON") ; make test fails otherwise (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 #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'disable-failing-tests (add-after 'unpack 'disable-failing-tests