summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-09-10 13:38:38 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-10 13:39:02 +0100
commitdc4b93311ceae309231722ee0ed0f70050dfbd64 (patch)
tree3e2812b4bf2b3728471cf2613eff81193567c7c5
parent9e09b1f9a218ef71462644e14ebbc9d1ae217d47 (diff)
gnu: delve: Enable tests.
* gnu/packages/debug.scm (delve)[arguments]<tests?>: Enable. <test-flags>: Skip 2 problematic tests. Change-Id: I35e013b52a8f464608e41ad444d603ee7829c472
-rw-r--r--gnu/packages/debug.scm16
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.")
1057 (origin 1057 (origin
1058 (method git-fetch) 1058 (method git-fetch)
1059 (uri (git-reference 1059 (uri (git-reference
1060 (url "https://github.com/go-delve/delve") 1060 (url "https://github.com/go-delve/delve")
1061 (commit (string-append "v" version)))) 1061 (commit (string-append "v" version))))
1062 (file-name (git-file-name name version)) 1062 (file-name (git-file-name name version))
1063 (sha256 1063 (sha256
1064 (base32 1064 (base32
@@ -1068,10 +1068,14 @@ to aid in debugging.")
1068 (delete-file-recursively "vendor"))))) 1068 (delete-file-recursively "vendor")))))
1069 (build-system go-build-system) 1069 (build-system go-build-system)
1070 (arguments 1070 (arguments
1071 (list #:tests? #f ;XXX: Some tests fail, check why. 1071 (list
1072 #:import-path "github.com/go-delve/delve/cmd/dlv" 1072 #:install-source? #f
1073 #:unpack-path "github.com/go-delve/delve" 1073 #:import-path "github.com/go-delve/delve/cmd/dlv"
1074 #:install-source? #f)) 1074 #:unpack-path "github.com/go-delve/delve"
1075 ;; [1] Want mod github.com/go-delve/delve and dep
1076 ;; github.com/google/go-dap in the output.
1077 ;; [2] Output of go tool nm contains MethodByName.
1078 #:test-flags #~(list "-skip" "TestVersion|TestDeadcodeEliminated")))
1075 (native-inputs 1079 (native-inputs
1076 (list go-github-com-cilium-ebpf 1080 (list go-github-com-cilium-ebpf
1077 go-github-com-cosiner-argv 1081 go-github-com-cosiner-argv