all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 70950@debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: [bug#70950] [PATCH] gnu: nss/fixed: Hasten test suite.
Date: Tue, 14 May 2024 14:00:28 -0400	[thread overview]
Message-ID: <0ab1aab81012b5250332ae018e9d25381e7c6d79.1715709627.git.maxim.cournoyer@gmail.com> (raw)

This causes the test suite to run in about in nearly a third of the original
time (from 145 min to 52 minutes on a particular machine).

* gnu/packages/nss.scm (nss/fixed) [phases] {check}: Set NSS_CYCLES
environment variable to 'standard'.

Change-Id: I5dab1ed16b302af2276b0f075a790f6193edbe95
---

 gnu/packages/nss.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm
index 80bf627583..8fb8a2fc99 100644
--- a/gnu/packages/nss.scm
+++ b/gnu/packages/nss.scm
@@ -288,6 +288,11 @@ (define-public nss/fixed
                          (substitute* "nss/tests/dbtests/dbtests.sh"
                            ((" -lt 5") " -lt 50"))
 
+                         ;; Since the test suite is very lengthy, run the test
+                         ;; suite once, not thrice as done by default, by
+                         ;; selecting only the 'standard' cycle.
+                         (setenv "NSS_CYCLES" "standard")
+
                          ;; The "PayPalEE.cert" certificate expires every six months,
                          ;; leading to test failures:
                          ;; <https://bugzilla.mozilla.org/show_bug.cgi?id=609734>.  To

base-commit: 898b5f30f3d485d48275c920da172863da9524c6
-- 
2.41.0





             reply	other threads:[~2024-05-14 18:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-14 18:00 Maxim Cournoyer [this message]
2024-05-15 16:40 ` [bug#70950] [PATCH] gnu: nss/fixed: Hasten test suite Maxim Cournoyer
2024-05-22 16:09 ` [bug#70950] [PATCH v2] " Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0ab1aab81012b5250332ae018e9d25381e7c6d79.1715709627.git.maxim.cournoyer@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=70950@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.