>From 910c98d233a271bf4ee74ee9edf4c42fb090afd5 Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Wed, 6 Jan 2016 21:23:15 +1000 Subject: [PATCH 1/4] gnu: ruby-power-assert: Disable failing test. * gnu/packages/ruby.scm (ruby-power-assert)[arguments]: Disable test which fails on Ruby 2.3.0. --- gnu/packages/ruby.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 47ac392..9706ec7 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1067,6 +1067,18 @@ using Net::HTTP, supporting reconnection and retry according to RFC 2616.") (base32 "0gbj379jhnff8rbb6m3kzdm282szjz1a021xzxa38d1bnswj2jx3")))) (build-system ruby-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'check 'patch-test + ;; Disable test that fails on Ruby 2.3. This has been fixed + ;; upstream but the fix has not been released. + (lambda _ + (substitute* + "test/test_power_assert.rb" + (("def test_inspection_failure") + "def dont_test_inspection_failure")) + #t))))) (native-inputs `(("bundler" ,bundler))) (synopsis "Assert library with descriptive assertion messages") -- 2.6.3