From 7bd78867deb390014f460813e77599b2c30dc4f0 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 7 Jan 2025 15:01:21 +0000 Subject: [PATCH] gnu: go-github-com-hashicorp-hcl-v2: Fix tests. * gnu/packages/golang-xyz.scm (go-github-com-hashicorp-hcl-v2): [arguments] : 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 --- gnu/packages/golang-xyz.scm | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index f4f3fd5d5ef..dcd0c4781e7 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