gnu: ruby-byebug: Disable misbehaving test.

* gnu/packages/ruby.scm (ruby-byebug)[arguments]: Add phase to skip
misbehaving test.
This commit is contained in:
Efraim Flashner 2021-09-12 15:23:33 +03:00
parent 94676291fb
commit 2d8307ed28
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -6687,6 +6687,12 @@ (define-public ruby-byebug
(add-before 'build 'compile
(lambda _
(invoke "rake" "compile")))
(add-before 'check 'disable-misbehaving-test
;; Expects 5, gets 162. From a file containing ~10 lines.
(lambda _
(substitute* "test/commands/finish_test.rb"
(("test_finish_inside_autoloaded_files")
"finish_inside_autoloaded_files"))))
(add-before 'check 'set-home
(lambda _
(setenv "HOME" (getcwd))