~ruther/guix-local

dc4b93311ceae309231722ee0ed0f70050dfbd64 — Sharlatan Hellseher 7 months ago 9e09b1f
gnu: delve: Enable tests.

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

Change-Id: I35e013b52a8f464608e41ad444d603ee7829c472
1 files changed, 10 insertions(+), 6 deletions(-)

M gnu/packages/debug.scm
M gnu/packages/debug.scm => gnu/packages/debug.scm +10 -6
@@ 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