summaryrefslogtreecommitdiff
path: root/gnu/packages/nss.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-05-14 08:44:29 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-05-29 21:55:18 -0400
commitc9e3806ec1686f348f2ac5d88cf65daed74a721b (patch)
tree9e26539f29ddf14f56e39a10dccbc81f50523716 /gnu/packages/nss.scm
parenta05c130435d559bcea8dd213294ae7e8159b1d51 (diff)
downloadguix-patches-c9e3806ec1686f348f2ac5d88cf65daed74a721b.tar
guix-patches-c9e3806ec1686f348f2ac5d88cf65daed74a721b.tar.gz
gnu: nss/fixed: Hasten test suite.
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
Diffstat (limited to 'gnu/packages/nss.scm')
-rw-r--r--gnu/packages/nss.scm5
1 files changed, 5 insertions, 0 deletions
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 @@ security standards.")
(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