guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: ruby-sqlite3: Adjust failing test.


From: Marius Bakke
Subject: 01/01: gnu: ruby-sqlite3: Adjust failing test.
Date: Fri, 16 Feb 2018 13:10:19 -0500 (EST)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 54a93355c22ab533743cd948cf7b57993c789686
Author: Marius Bakke <address@hidden>
Date:   Fri Feb 16 19:09:03 2018 +0100

    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 4f8b76c..409390b 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")))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]