guix-patches
[Top][All Lists]
Advanced

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

[bug#50813] [PATCH v2 6/6] gnu: clipper: Disable non-deterministic test.


From: Felix Gruber
Subject: [bug#50813] [PATCH v2 6/6] gnu: clipper: Disable non-deterministic test.
Date: Sun, 10 Oct 2021 15:04:34 +0000

This test fails/succeeds non-deterministically.

* gnu/packages/bioinformatics.scm (clipper)[arguments]: Disable
  non-deterministic test test_get_FDR_cutoff_mean.
---
 gnu/packages/bioinformatics.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 082e47bf5b..7dec74f0c0 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -22,6 +22,7 @@
 ;;; Copyright © 2021 Tim Howes <timhowes@lavabit.com>
 ;;; Copyright © 2021 Hong Li <hli@mdc-berlin.de>
 ;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
+;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2363,7 +2364,13 @@ databases.")
              (let ((out (assoc-ref outputs "out")))
                (for-each make-file-writable
                          (find-files out "\\.gz$"))
-               #t))))))
+               #t)))
+         (add-after 'unpack 'disable-nondeterministic-test
+           (lambda _
+             ;; This test fails/succeeds non-deterministically.
+             (substitute* "clipper/test/test_call_peak.py"
+               (("test_get_FDR_cutoff_mean") "_test_get_FDR_cutoff_mean"))
+             #t)))))
     (inputs
      `(("htseq" ,htseq)
        ("python-pybedtools" ,python-pybedtools)
-- 
2.30.2






reply via email to

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