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
This commit is contained in:
Sharlatan Hellseher 2024-12-12 14:41:29 +00:00
parent 90d147b18c
commit 34daaf9dcb
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4372,8 +4372,15 @@ (define-public go-github-com-go-sql-driver-mysql
"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")