guix-commits
[Top][All Lists]
Advanced

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

02/16: gnu: gnunet: Disable flaky tests.


From: guix-commits
Subject: 02/16: gnu: gnunet: Disable flaky tests.
Date: Sat, 1 Apr 2023 20:09:59 -0400 (EDT)

apteryx pushed a commit to branch staging
in repository guix.

commit ee0de79b1efcd991fa7d3586423e1b5cdcaf993c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Mar 31 11:48:30 2023 -0400

    gnu: gnunet: Disable flaky tests.
    
    * gnu/packages/gnunet.scm (gnunet) [arguments]: Add a
    disable-problematic-tests phase.
---
 gnu/packages/gnunet.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
index 2b494862ad..cb4a90298f 100644
--- a/gnu/packages/gnunet.scm
+++ b/gnu/packages/gnunet.scm
@@ -315,6 +315,17 @@ supports HTTP, HTTPS and GnuTLS.")
       #:parallel-tests? #f              ;parallel tests aren't supported
       #:phases
       #~(modify-phases %standard-phases
+          (add-after 'unpack 'disable-problematic-tests
+            (lambda _
+              (substitute* "src/cadet/Makefile.in"
+                ;; The speed_reliable tests appear to be unreliable (see:
+                ;; https://bugs.gnunet.org/view.php?id=7787).
+                (("test_cadet_[0-9]+_speed_reliable\\$\\(EXEEXT)")
+                 ""))
+              (substitute* "src/core/Makefile.in"
+                ;; The 'test_core_api' test fails non-deterministically (see:
+                ;; https://bugs.gnunet.org/view.php?id=7784).
+                (("test_core_api\\$\\(EXEEXT) ") ""))))
           (add-before 'check 'set-env-var-for-tests
             (lambda _
               (setenv "LANG" "en_US.UTF-8")))



reply via email to

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