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:
parent
873d85a908
commit
e4320eb52d
1 changed files with 3 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue