~ruther/guix-local

dadfcdbae661396b67c346dd3f22d0619ff546ce — Sharlatan Hellseher 7 months ago 9b30ff5
gnu: go-github-com-veraison-go-cose: Skip some tests.

* gnu/packages/golang-crypto.scm (go-github-com-veraison-go-cose)
[arguments]<test-flags>: Skip some not critical tests.

Change-Id: I77cfb4cccde1a0f6df9ccb97d91006c6df8992b7
1 files changed, 12 insertions(+), 1 deletions(-)

M gnu/packages/golang-crypto.scm
M gnu/packages/golang-crypto.scm => gnu/packages/golang-crypto.scm +12 -1
@@ 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: <https://github.com/veraison/go-cose/pull/218>.
        #~(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")