diff options
author | Marius Bakke <mbakke@fastmail.com> | 2018-02-16 19:09:03 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2018-02-16 19:09:03 +0100 |
commit | 54a93355c22ab533743cd948cf7b57993c789686 (patch) | |
tree | 5925fd19d0f9841e499f23a7343ec83ca2539d9a | |
parent | f6cccefed599e06a814b702aa79b8a09f01ec41c (diff) | |
download | guix-54a93355c22ab533743cd948cf7b57993c789686.tar.gz |
gnu: ruby-sqlite3: Adjust failing test.
* gnu/packages/ruby.scm (ruby-sqlite3): Adjust test to work with SQLite 3.21.
-rw-r--r-- | gnu/packages/ruby.scm | 7 |
1 files changed, 7 insertions, 0 deletions
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 <https://github.com/sparklemotion/sqlite3-ruby/issues/226>. + (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"))))))) |