unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#70950] [PATCH] gnu: nss/fixed: Hasten test suite.
@ 2024-05-14 18:00 Maxim Cournoyer
  2024-05-15 16:40 ` Maxim Cournoyer
  2024-05-22 16:09 ` [bug#70950] [PATCH v2] " Maxim Cournoyer
  0 siblings, 2 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2024-05-14 18:00 UTC (permalink / raw)
  To: 70950; +Cc: Maxim Cournoyer

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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#70950] [PATCH] gnu: nss/fixed: Hasten test suite.
  2024-05-14 18:00 [bug#70950] [PATCH] gnu: nss/fixed: Hasten test suite Maxim Cournoyer
@ 2024-05-15 16:40 ` Maxim Cournoyer
  2024-05-22 16:09 ` [bug#70950] [PATCH v2] " Maxim Cournoyer
  1 sibling, 0 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2024-05-15 16:40 UTC (permalink / raw)
  To: 70950; +Cc: Christina O' Donnell

Hi,

+CC Christina, who has done some work with NSS recently.

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> 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

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#70950] [PATCH v2] gnu: nss/fixed: Hasten test suite.
  2024-05-14 18:00 [bug#70950] [PATCH] gnu: nss/fixed: Hasten test suite Maxim Cournoyer
  2024-05-15 16:40 ` Maxim Cournoyer
@ 2024-05-22 16:09 ` Maxim Cournoyer
  2024-05-30  2:05   ` bug#70950: " Maxim Cournoyer
  1 sibling, 1 reply; 4+ messages in thread
From: Maxim Cournoyer @ 2024-05-22 16:09 UTC (permalink / raw)
  To: 70950; +Cc: Maxim Cournoyer

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
---

(no changes since v1)

 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: b462cff5ee582d09a0a6b656bea3b1e77c1f57a5
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#70950: [PATCH v2] gnu: nss/fixed: Hasten test suite.
  2024-05-22 16:09 ` [bug#70950] [PATCH v2] " Maxim Cournoyer
@ 2024-05-30  2:05   ` Maxim Cournoyer
  0 siblings, 0 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2024-05-30  2:05 UTC (permalink / raw)
  To: 70950-done

Hi,

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> 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
> ---
>
> (no changes since v1)
>
>  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: b462cff5ee582d09a0a6b656bea3b1e77c1f57a5

Merged with c9e3806ec1686f348f2ac5d88cf65daed74a721b.

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-05-30  2:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-14 18:00 [bug#70950] [PATCH] gnu: nss/fixed: Hasten test suite Maxim Cournoyer
2024-05-15 16:40 ` Maxim Cournoyer
2024-05-22 16:09 ` [bug#70950] [PATCH v2] " Maxim Cournoyer
2024-05-30  2:05   ` bug#70950: " Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).