diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 6f6bd9e1bf..14197e1eab 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -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"))))))