gnu: delve: Enable tests.

* gnu/packages/debug.scm (delve)[arguments]<tests?>: Enable.
<test-flags>: Skip 2 problematic tests.

Change-Id: I35e013b52a8f464608e41ad444d603ee7829c472
This commit is contained in:
Sharlatan Hellseher 2025-09-10 13:38:38 +01:00
parent 9e09b1f9a2
commit dc4b93311c
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1057,8 +1057,8 @@ to aid in debugging.")
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/go-delve/delve")
(commit (string-append "v" version))))
(url "https://github.com/go-delve/delve")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
@ -1068,10 +1068,14 @@ to aid in debugging.")
(delete-file-recursively "vendor")))))
(build-system go-build-system)
(arguments
(list #:tests? #f ;XXX: Some tests fail, check why.
#:import-path "github.com/go-delve/delve/cmd/dlv"
#:unpack-path "github.com/go-delve/delve"
#:install-source? #f))
(list
#:install-source? #f
#:import-path "github.com/go-delve/delve/cmd/dlv"
#:unpack-path "github.com/go-delve/delve"
;; [1] Want mod github.com/go-delve/delve and dep
;; github.com/google/go-dap in the output.
;; [2] Output of go tool nm contains MethodByName.
#:test-flags #~(list "-skip" "TestVersion|TestDeadcodeEliminated")))
(native-inputs
(list go-github-com-cilium-ebpf
go-github-com-cosiner-argv