aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2017-12-23 20:39:18 +0200
committerEfraim Flashner <efraim@flashner.co.il>2017-12-23 20:52:02 +0200
commit6a069618ab48600ffd241666cf8f9ed871c7484b (patch)
treece2a662af09958e26caaad0df75ab07fb8126b0e
parent44dd001d876c8129701c81a8294b6851c6ff622a (diff)
downloadpatches-6a069618ab48600ffd241666cf8f9ed871c7484b.tar
patches-6a069618ab48600ffd241666cf8f9ed871c7484b.tar.gz
gnu: weechat: Disable tests on non-Intel architectures.
* gnu/packages/irc.scm (weechat)[arguments]: Disable tests on non-Intel architectures.
-rw-r--r--gnu/packages/irc.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index ec329ade7e..f367032fe5 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -58,7 +58,9 @@
#: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 @@ SILC and ICB protocols via plugins.")
(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