sharlatan pushed a commit to branch go-team
in repository guix.

commit f6ba6b22b4b5af3c819dc7095c633d166f14670e
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Dec 12 14:41:29 2024 +0000

    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
---
 gnu/packages/golang.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ad50c5e602..9f3b1bceca 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -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";)

Reply via email to