~ruther/guix-local

3416a5164a70253aba7655c37c4cd05a51cd75fc — Sharlatan Hellseher 1 year, 10 months ago cddd6bb
gnu: go-github-com-go-sql-driver-mysql: Enable tests.

* gnu/packages/golang.scm (go-github-com-go-sql-driver-mysql)
[arguments]<test-flags>: Skip some failing tests requiring networking
setup.

Change-Id: I53592dfee76a0239b12ae1da26ab2662da781fb4
1 files changed, 9 insertions(+), 2 deletions(-)

M gnu/packages/golang.scm
M gnu/packages/golang.scm => gnu/packages/golang.scm +9 -2
@@ 4372,8 4372,15 @@ have super fancy logs.")
         "0ihdqg411gkv454fwx8w5nbndgkm5dz5phfliksxgmhggyxxm7sn"))))
    (build-system go-build-system)
    (arguments
     '(#:tests? #f ;; tests require a network connection
       #:import-path "github.com/go-sql-driver/mysql"))
     (list
      #:import-path "github.com/go-sql-driver/mysql"
      #:test-flags
      #~(list "-skip" (string-join
                       (list "TestConnectorReturnsTimeout"
                             "TestErrorInMultiResult"
                             "TestDSNReformat/user:p"
                             "FuzzFormatDSN/seed#8")
                       "|"))))
    (propagated-inputs
     (list go-filippo-io-edwards25519))
    (home-page "https://github.com/go-sql-driver/mysql")