gnu: ruby-ruby-prof: Disable a flaky test.
A test was found to fail non-deterministically. * gnu/packages/ruby.scm (ruby-ruby-prof)[phases]: Add the 'delete-flaky-test phase.
This commit is contained in:
parent
257dee505e
commit
661ad8d7c5
1 changed files with 8 additions and 0 deletions
|
@ -6524,6 +6524,14 @@ (define-public ruby-ruby-prof
|
|||
((".*require \"bundler/setup\".*" all)
|
||||
(string-append all " require 'bundler/gem_tasks'\n")))
|
||||
#t))
|
||||
;; The LineNumbersTest test fails non-deterministically (see:
|
||||
;; https://github.com/ruby-prof/ruby-prof/issues/276).
|
||||
(add-after 'extract-gemspec 'delete-flaky-test
|
||||
(lambda _
|
||||
(delete-file "test/line_number_test.rb")
|
||||
(substitute* "ruby-prof.gemspec"
|
||||
(("\"test/line_number_test\\.rb\"\\.freeze, ") ""))
|
||||
#t))
|
||||
(add-before 'check 'compile
|
||||
(lambda _
|
||||
(invoke "rake" "compile"))))))
|
||||
|
|
Loading…
Reference in a new issue