me
/
guix
Archived
1
0
Fork 0

gnu: go-github-com-go-ldap-ldap: Enable tests.

* gnu/packages/golang-web.scm (go-github-com-go-ldap-ldap): Enable tests.
[native-inputs]: Add go-github-com-stretchr-testify.

Change-Id: I6c3090abac883f87e75534a60e0c9e5ff518887d
master
Sharlatan Hellseher 2024-06-27 00:06:26 +01:00
parent 3244c6ca88
commit 8db567d19d
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
1 changed files with 12 additions and 2 deletions

View File

@ -805,8 +805,18 @@ Encryption, JSON Web Signature, and JSON Web Token standards.")
(build-system go-build-system)
(arguments
(list
#:tests? #f ; test suite requires internet access
#:import-path "github.com/go-ldap/ldap/v3"))
#:import-path "github.com/go-ldap/ldap/v3"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-failing-tests
(lambda* (#:key import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(for-each delete-file
;; FAIL <...> LDAP Result Code 200 "Network Error":
;; dial tcp: lookup ldap.itd.umich.edu on <...>
(list "ldap_test.go"))))))))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-azure-go-ntlmssp
go-github-com-go-asn1-ber-asn1-ber