From dadfcdbae661396b67c346dd3f22d0619ff546ce Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 7 Sep 2025 20:57:36 +0100 Subject: [PATCH] gnu: go-github-com-veraison-go-cose: Skip some tests. * gnu/packages/golang-crypto.scm (go-github-com-veraison-go-cose) [arguments]: Skip some not critical tests. Change-Id: I77cfb4cccde1a0f6df9ccb97d91006c6df8992b7 --- gnu/packages/golang-crypto.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm index d5cbfe18fd0..b8443ef6f21 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -2535,7 +2535,18 @@ support the streaming mode required by Go's standard Hash interface.") (build-system go-build-system) (arguments (list - #:import-path "github.com/veraison/go-cose")) + #:import-path "github.com/veraison/go-cose" + #:test-flags + ;; Some tests are not compatible with cbor@2.9.0. + ;; See: . + #~(list "-skip" (string-join + (list "TestProtectedHeader_UnmarshalCBOR/duplicated_key" + "TestUnprotectedHeader_UnmarshalCBOR/duplicated_key" + "TestKey_UnmarshalCBOR/duplicated_param" + "TestKey_UnmarshalCBOR/duplicated_kty" + "TestConformance/sign1-verify-negative-0002" + "TestConformance/sign1-verify-negative-0003") + "|")))) (propagated-inputs (list go-github-com-fxamacker-cbor-v2)) (home-page "https://github.com/veraison/go-cose")