guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/11: gnu: node: Delete expired tests.


From: Marius Bakke
Subject: 08/11: gnu: node: Delete expired tests.
Date: Tue, 25 Sep 2018 18:40:23 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 020c4ef18e2a1ab877de803d697ca96acfa46624
Author: Marius Bakke <address@hidden>
Date:   Mon Sep 24 14:43:53 2018 +0200

    gnu: node: Delete expired tests.
    
    * gnu/packages/node.scm (node)[arguments]: Delete tests for which the TLS
    certificates have expired.
---
 gnu/packages/node.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index d1de7a5..de7d59c 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -125,6 +125,14 @@
                          "test/sequential/test-child-process-emfile.js"
                          "test/sequential/test-benchmark-child-process.js"
                          "test/sequential/test-http-regr-gh-2928.js"))
+
+             ;; These tests have an expiry date: they depend on the validity of
+             ;; TLS certificates that are bundled with the source.  We want 
this
+             ;; package to be reproducible forever, so remove those.
+             ;; TODO: Regenerate certs instead.
+             (for-each delete-file
+                       '("test/parallel/test-tls-passphrase.js"
+                         "test/parallel/test-tls-server-verify.js"))
              #t))
          (replace 'configure
            ;; Node's configure script is actually a python script, so we can't



reply via email to

[Prev in Thread] Current Thread [Next in Thread]