gnu: go-golang-zx2c4-com-wireguard: Enable all tests.

* gnu/packages/golang-web.scm (go-golang-zx2c4-com-wireguard)
[arguments] <phases>: Use default 'check and run all tests.

Change-Id: I6bf45e6a6a3215d6b69aeb937af879966c097827
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
This commit is contained in:
Sharlatan Hellseher 2025-08-24 22:20:09 +01:00 committed by Artyom V. Poptsov
parent d752d63a8c
commit 961072c753
No known key found for this signature in database
GPG key ID: 935EBE0736DC857E

View file

@ -12770,25 +12770,7 @@ the standard @code{context} package to store request-scoped values.")
(build-system go-build-system)
(arguments
(list
#:import-path "golang.zx2c4.com/wireguard"
#:phases
#~(modify-phases %standard-phases
;; XXX: Workaround for go-build-system's lack of Go modules
;; support.
(replace 'check
(lambda* (#:key tests? import-path #:allow-other-keys)
(when tests?
(with-directory-excursion (string-append "src/" import-path)
(invoke "go" "test" "-v"
;; "./tune/..." ; Requires gvisor.dev/gvisor, not packed yet
"./"
"./conn/..."
"./device/..."
"./ipc/..."
"./ratelimiter/..."
"./replay/..."
"./rwcancel/..."
"./tai64n/..."))))))))
#:import-path "golang.zx2c4.com/wireguard"))
(propagated-inputs
(list go-golang-org-x-crypto
go-golang-org-x-net