1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-15 19:40:46 +02:00

gnu: go-github-com-dennwc-varint: Simplify.

* gnu/packages/golang-xyz.scm (go-github-com-dennwc-varint)
[arguments] <test-flags>: Skip 2 tests precisely.
<phases>: Remove 'disable-failing-tests.

Change-Id: I8bf9bca1185cb90aaeabeef39a9a0e81b16857be
This commit is contained in:
Sharlatan Hellseher 2024-12-27 13:08:29 +00:00
parent 873d85a908
commit e4320eb52d
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3089,14 +3089,9 @@ more complicated parallel cases.")
(arguments
(list
#:import-path "github.com/dennwc/varint"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'disable-failing-tests
(lambda* (#:key tests? import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(substitute* (find-files "." "\\_test.go$")
;; XXX: varint_test.go:94: unexpected error: -11.
(("TestUvarint") "OffTestUvarint"))))))))
#:test-flags
#~(list "-skip" "TestUvarint/overflow|TestUvarint/overflow_short")))
(home-page "https://github.com/dennwc/varint")
(synopsis "Fast varint library for Golang")
(description