gnu: ruby-sqlite3: Adjust failing test.
* gnu/packages/ruby.scm (ruby-sqlite3): Adjust test to work with SQLite 3.21.
This commit is contained in:
parent
f6cccefed5
commit
54a93355c2
|
@ -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")))))))
|
||||
|
|
Loading…
Reference in New Issue