From 54a93355c22ab533743cd948cf7b57993c789686 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 16 Feb 2018 19:09:03 +0100 Subject: [PATCH] gnu: ruby-sqlite3: Adjust failing test. * gnu/packages/ruby.scm (ruby-sqlite3): Adjust test to work with SQLite 3.21. --- gnu/packages/ruby.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 4f8b76cffb..409390ba4a 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3418,6 +3418,13 @@ neither too verbose nor too minimal.") (arguments `(#:phases (modify-phases %standard-phases + (add-before 'check 'adjust-failing-test + (lambda _ + ;; XXX: This test fails with SQLite versions >= 3.21. + ;; See . + (substitute* "test/test_integration_resultset.rb" + (("\"integer\", \"text\"") "\"INTEGER\", \"text\"")) + #t)) (add-before 'check 'add-gemtest-file ;; This file exists in the repository but is not distributed. (lambda _ (zero? (system* "touch" ".gemtest")))))))