[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: ruby-stackprof: Build (more) reliably.
From: |
guix-commits |
Subject: |
02/02: gnu: ruby-stackprof: Build (more) reliably. |
Date: |
Sun, 25 Jul 2021 21:22:50 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 11afd465196d8eaf272812d9752fdadd30b82bb1
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Mon Jul 26 02:51:50 2021 +0200
gnu: ruby-stackprof: Build (more) reliably.
* gnu/packages/ruby.scm (ruby-stackprof)[arguments]: Add a new
'skip-dubious-test phase.
---
gnu/packages/ruby.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 6f6bd9e..14197e1 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7731,6 +7731,12 @@ navigation capabilities to @code{pry}, using
@code{byebug}.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-before 'check 'skip-dubious-test
+ ;; This unreliable test can fail with "Expected 0 to be >= 1."
+ (lambda _
+ (substitute* "test/test_stackprof.rb"
+ (("def test_(cputime)" _ name)
+ (string-append "def skip_" name)))))
(add-before 'check 'build-tests
(lambda _
(invoke "rake" "compile"))))))