[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/15: gnu: nss: Skip tests on powerpc-linux.
From: |
guix-commits |
Subject: |
14/15: gnu: nss: Skip tests on powerpc-linux. |
Date: |
Sun, 17 May 2020 13:30:05 -0400 (EDT) |
efraim pushed a commit to branch wip-ppc
in repository guix.
commit 77224da6a59e4e9b600bca590827d2e00354cdcc
Author: Efraim Flashner <address@hidden>
AuthorDate: Sat May 9 22:35:20 2020 +0300
gnu: nss: Skip tests on powerpc-linux.
* gnu/packages/nss.scm (nss)[arguments]: Skip tests on powerpc-linux.
Adjust custom 'check phase accordingly.
---
gnu/packages/nss.scm | 31 +++++++++++++++++++------------
1 file changed, 19 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm
index e423bdd..b223687 100644
--- a/gnu/packages/nss.scm
+++ b/gnu/packages/nss.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès
<address@hidden>
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Mark H Weaver
<address@hidden>
-;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner <address@hidden>
+;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner <address@hidden>
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <address@hidden>
;;; Copyright © 2020 Marius Bakke <address@hidden>
;;;
@@ -98,6 +98,10 @@ in the Mozilla clients.")
(outputs '("out" "bin"))
(arguments
`(#:parallel-build? #f ; not supported
+ ;; Tests on powerpc-linux take forever and fail sporatically.
+ #:tests? ,(if (string=? "powerpc-linux" (or (%current-system)
+ (%current-target-system)))
+ '#f '#t)
#:make-flags
(let* ((out (assoc-ref %outputs "out"))
(nspr (string-append (assoc-ref %build-inputs "nspr")))
@@ -127,18 +131,21 @@ in the Mozilla clients.")
'()))
#t))
(replace 'check
- (lambda _
- ;; Use 127.0.0.1 instead of $HOST.$DOMSUF as HOSTADDR for testing.
- ;; The later requires a working DNS or /etc/hosts.
- (setenv "DOMSUF" "localdomain")
- (setenv "USE_IP" "TRUE")
- (setenv "IP_ADDRESS" "127.0.0.1")
+ (lambda* (#:key tests? #:allow-other-keys)
+ (if tests?
+ (begin
+ ;; Use 127.0.0.1 instead of $HOST.$DOMSUF as HOSTADDR for
testing.
+ ;; The later requires a working DNS or /etc/hosts.
+ (setenv "DOMSUF" "localdomain")
+ (setenv "USE_IP" "TRUE")
+ (setenv "IP_ADDRESS" "127.0.0.1")
- ;; The "PayPalEE.cert" certificate expires every six months,
- ;; leading to test failures:
- ;; <https://bugzilla.mozilla.org/show_bug.cgi?id=609734>. To
- ;; work around that, set the time to roughly the release date.
- (invoke "faketime" "2020-02-01" "./nss/tests/all.sh")))
+ ;; The "PayPalEE.cert" certificate expires every six months,
+ ;; leading to test failures:
+ ;; <https://bugzilla.mozilla.org/show_bug.cgi?id=609734>. To
+ ;; work around that, set the time to roughly the release date.
+ (invoke "faketime" "2020-02-01" "./nss/tests/all.sh"))
+ #t)))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- branch wip-ppc created (now 7acba58), guix-commits, 2020/05/17
- 01/15: FIXME: Downgrade glibc to 2.30., guix-commits, 2020/05/17
- 14/15: gnu: nss: Skip tests on powerpc-linux.,
guix-commits <=
- 10/15: gnu: american-fuzzy-lop: Add support for powerpc-linux., guix-commits, 2020/05/17
- 15/15: gnu: gsl: Disable failing tests on powerpc., guix-commits, 2020/05/17
- 09/15: gnu: Add mac-fdisk., guix-commits, 2020/05/17
- 08/15: gnu: mesa: Add support for powerpc-linux., guix-commits, 2020/05/17
- 07/15: gnu: gd: Fix tests., guix-commits, 2020/05/17
- 02/15: WIP add powerpc support, guix-commits, 2020/05/17
- 04/15: gnu: datefudge: Only use glibc-2.31 workaround on supported platforms., guix-commits, 2020/05/17
- 06/15: gnu: elfutils: Skip tests on powerpc., guix-commits, 2020/05/17
- 03/15: FIXME: allow reference to bootstrap-binaries in binutils-final, guix-commits, 2020/05/17
- 05/15: gnu: valgrind: Fix build on powerpc., guix-commits, 2020/05/17