GNU bug report logs - #69390
[PATCH 0/3] gnu: go-github-com-cheggaaa-pb-v3: Enable tests.

Previous Next

Package: guix-patches;

Reported by: Troy Figiel <troy <at> troyfigiel.com>

Date: Sun, 25 Feb 2024 17:44:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 69390 <at> debbugs.gnu.org (full text, mbox):

From: Troy Figiel <troy <at> troyfigiel.com>
To: 69390 <at> debbugs.gnu.org
Subject: [PATCH 2/3] gnu: go-github-com-cheggaaa-pb-v3: Enable tests.
Date: Sun, 25 Feb 2024 18:11:17 +0100
* gnu/packages/golang.scm (go-github-com-cheggaaa-pb-v3): Enable tests.
[arguments]<#:tests?>: Set to true.
<#:unpack-path>: Set unpack-path to the repository root.
---
 gnu/packages/golang.scm | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2c0f3b932a..2cff7a0d62 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8789,9 +8789,7 @@ (define-public go-github-com-cheggaaa-pb-v3
     (build-system go-build-system)
     (arguments
      '(#:import-path "github.com/cheggaaa/pb/v3"
-       ;; XXX: it does have tests but I'm not sure how to run them.
-       ;; go-build-system is looking in the wrong directory.
-       #:tests? #f))
+       #:unpack-path "github.com/cheggaaa/pb"))
     (propagated-inputs
      (list go-golang-org-x-sys
            go-github-com-rivo-uniseg
-- 
2.42.0





This bug report was last modified 1 year and 77 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.