From dc4b93311ceae309231722ee0ed0f70050dfbd64 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 10 Sep 2025 13:38:38 +0100 Subject: [PATCH] gnu: delve: Enable tests. * gnu/packages/debug.scm (delve)[arguments]: Enable. : Skip 2 problematic tests. Change-Id: I35e013b52a8f464608e41ad444d603ee7829c472 --- gnu/packages/debug.scm | 16 ++++++++++------ 1 file 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