guix_mirror_bot pushed a commit to branch master in repository guix. commit 199fd8541c74b6a459b71166adfced46077779a2 Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Tue Jun 10 11:37:03 2025 +0100
gnu: godef: Use skip tests. * gnu/packages/go-apps.scm (godef) [arguments] <test-flags>: Add "-skip" option instead of deleting the whole test file. <phases>: Remove 'delete-problematic-tests. Change-Id: I67867a4ea89c102761a2504d39c09d9b157d59bb --- gnu/packages/go-apps.scm | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/gnu/packages/go-apps.scm b/gnu/packages/go-apps.scm index 8f91dd4ed7..9f44da0ad4 100644 --- a/gnu/packages/go-apps.scm +++ b/gnu/packages/go-apps.scm @@ -47,14 +47,12 @@ (arguments (list #:import-path "github.com/rogpeppe/godef" - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'delete-problematic-tests - (lambda _ - ;; The TestGoDef/Modules test fails, because of the lack of Go - ;; modules support. - (delete-file "src/github.com/rogpeppe/godef/godef_test.go")))))) - (inputs (list go-golang-org-x-tools go-ninefans-net-go)) + ;; The TestGoDef/Modules test fails, because of the lack of Go modules + ;; support. + #:test-flags #~(list "-skip" "TestGoDef/GOPATH|TestGoDef/Modules"))) + (inputs + (list go-golang-org-x-tools + go-ninefans-net-go)) (home-page "https://github.com/rogpeppe/godef") (synopsis "Print where symbols are defined in Go source code") (description "The @command{godef} command prints the source location of