mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 14:52:05 -05:00
gnu: ruby-stackprof: Build (more) reliably.
* gnu/packages/ruby.scm (ruby-stackprof)[arguments]: Add a new 'skip-dubious-test phase.
This commit is contained in:
parent
900c2ca8f7
commit
11afd46519
1 changed files with 6 additions and 0 deletions
|
@ -7731,6 +7731,12 @@ (define-public ruby-stackprof
|
|||
(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"))))))
|
||||
|
|
Loading…
Reference in a new issue