mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: go-google-golang-org-protobuf: Disable some failing tests.
* gnu/packages/golang.scm (go-google-golang-org-protobuf) [arguments]: <#:phases>: Add 'disable-failing-tests phase. Change-Id: I5f3ce75712fe6ff1cbde0f2bbc27a566710baa34
This commit is contained in:
parent
b70893b5c2
commit
76adf5e3ca
1 changed files with 12 additions and 0 deletions
|
@ -6277,6 +6277,18 @@ (define-public go-google-golang-org-protobuf
|
|||
(list #:import-path "google.golang.org/protobuf"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'disable-failing-tests
|
||||
(lambda* (#:key tests? unpack-path #:allow-other-keys)
|
||||
(with-directory-excursion (string-append "src/" unpack-path)
|
||||
(substitute* (find-files "." "\\_test.go$")
|
||||
;; XXX Failing on i686-linux:
|
||||
;; panic: unaligned 64-bit atomic operation
|
||||
(("TestDynamicTypesExtensionNotFound")
|
||||
"OffTestDynamicTypesExtensionNotFound")
|
||||
(("TestDynamicTypesFilesChangeAfterCreation")
|
||||
"OffTestDynamicTypesFilesChangeAfterCreation")
|
||||
(("TestDynamicTypesFindExtensionByNameOrNumber")
|
||||
"OffTestDynamicTypesFindExtensionByNameOrNumber")))))
|
||||
;; XXX: Workaround for go-build-system's lack of Go modules
|
||||
;; support.
|
||||
(delete 'build)
|
||||
|
|
Loading…
Reference in a new issue