diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-10 13:38:38 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-10 13:39:02 +0100 |
| commit | dc4b93311ceae309231722ee0ed0f70050dfbd64 (patch) | |
| tree | 3e2812b4bf2b3728471cf2613eff81193567c7c5 /gnu/packages/debug.scm | |
| parent | 9e09b1f9a218ef71462644e14ebbc9d1ae217d47 (diff) | |
gnu: delve: Enable tests.
* gnu/packages/debug.scm (delve)[arguments]<tests?>: Enable.
<test-flags>: Skip 2 problematic tests.
Change-Id: I35e013b52a8f464608e41ad444d603ee7829c472
Diffstat (limited to 'gnu/packages/debug.scm')
| -rw-r--r-- | gnu/packages/debug.scm | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm index f72c98d931f..a1b46bc518a 100644 --- a/gnu/packages/debug.scm +++ b/gnu/packages/debug.scm @@ -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 |
