summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorBen Woodcroft <donttrustben@gmail.com>2017-06-02 21:37:50 -0500
committerBen Woodcroft <donttrustben@gmail.com>2017-06-02 21:41:59 -0500
commit9a7017ebd5dd5693111a57f72c64f9c38ac7514e (patch)
tree6f3f24c3fb33d47ef24169014a32c42783cee3a7 /gnu
parentb4092cb801e4d4c76cbfc8fbafeba10728ec4f6c (diff)
gnu: ruby-minitest-4: Exclude failing tests.
gnu/packages/ruby.scm (ruby-minitest-4): Exclude failing tests.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index d5fdd5b4fd..a8f21798af 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1513,7 +1513,13 @@ facilities supporting TDD, BDD, mocking, and benchmarking.")
(lambda _
(substitute* "Rakefile"
(("self\\.rubyforge_name = .*") ""))
- #t)))))))
+ #t))
+ (add-after 'build 'exclude-failing-tests
+ (lambda _
+ ;; Some tests are failing on Ruby 2.4 due to the deprecation of
+ ;; Fixnum.
+ (delete-file "test/minitest/test_minitest_spec.rb")
+ #t)))))))
(define-public ruby-minitest-sprint
(package