summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <[email protected]>2025-01-07 15:01:21 +0000
committerSharlatan Hellseher <[email protected]>2025-01-21 23:47:42 +0000
commit7bd78867deb390014f460813e77599b2c30dc4f0 (patch)
tree2e7903c4dba84448364ed744065ae1b2a663ad61 /gnu/packages/golang-xyz.scm
parentd1245d600aec8c719ae6c2b85a5eb39897badac1 (diff)
gnu: go-github-com-hashicorp-hcl-v2: Fix tests.
* gnu/packages/golang-xyz.scm (go-github-com-hashicorp-hcl-v2): [arguments] <test-flags>: Skip 3 failing test matches. [native-inputs]: Add go-github-com-apparentlymart-go-dump, go-github-com-go-test-deep, go-github-com-kr-pretty, go-github-com-kylelemons-godebug, go-github-com-sergi-go-diff, go-github-com-spf13-pflag, go-github-com-zclconf-go-cty-debug, and go-golang-org-x-crypto. Change-Id: I11e453ff3a7c947d7738474d6bbea03d86effc37
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm19
1 files changed, 17 insertions, 2 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index f4f3fd5d5e..dcd0c4781e 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -6404,9 +6404,24 @@ expressing configuration which is easy for both humans and machines to read.")
(build-system go-build-system)
(arguments
(list
- #:import-path "github.com/hashicorp/hcl/v2"))
+ #:import-path "github.com/hashicorp/hcl/v2"
+ #:test-flags
+ #~(list "-skip"
+ (string-join
+ (list "TestExpressionParseAndValue/.*unk.*"
+ "TestFunctionCallExprValue/valid_call_with_unknown_arg.*"
+ "TestFunctionCallExprValue/valid_call_with_dynamic_arg")
+ "|"))))
(native-inputs
- (list go-github-com-davecgh-go-spew))
+ (list go-github-com-apparentlymart-go-dump
+ go-github-com-davecgh-go-spew
+ go-github-com-go-test-deep
+ go-github-com-kr-pretty
+ go-github-com-kylelemons-godebug
+ go-github-com-sergi-go-diff
+ go-github-com-spf13-pflag
+ go-github-com-zclconf-go-cty-debug
+ go-golang-org-x-crypto))
(inputs
(list go-github-com-agext-levenshtein
go-github-com-apparentlymart-go-textseg-v13