[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/18: gnu: go-google-golang-org-protobuf: Disable some failing tests.
From: |
guix-commits |
Subject: |
01/18: gnu: go-google-golang-org-protobuf: Disable some failing tests. |
Date: |
Mon, 22 Jul 2024 18:29:10 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit 76adf5e3ca0f32c4369f1b61fc0cd32937384118
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Mon Jul 22 22:39:07 2024 +0100
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
---
gnu/packages/golang.scm | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3ea153978f..02ef243e18 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6277,6 +6277,18 @@ data serialization format.")
(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)
- branch master updated (b70893b5c2 -> cdf4677597), guix-commits, 2024/07/22
- 03/18: gnu: Add go-github-com-niklasfasching-go-org., guix-commits, 2024/07/22
- 01/18: gnu: go-google-golang-org-protobuf: Disable some failing tests.,
guix-commits <=
- 16/18: gnu: Add go-github-com-ipfs-go-metrics-interface., guix-commits, 2024/07/22
- 09/18: gnu: vale: Update to 3.4.2., guix-commits, 2024/07/22
- 17/18: gnu: Add go-github-com-ipfs-go-ipfs-blockstore., guix-commits, 2024/07/22
- 08/18: gnu: go-github-com-mitchellh-mapstructure: Update to 1.5.0., guix-commits, 2024/07/22
- 12/18: gnu: Add go-github-com-ipfs-go-ipfs-blocksutil., guix-commits, 2024/07/22
- 02/18: gnu: go-github-com-syndtr-goleveldb: Disable some failing tests., guix-commits, 2024/07/22
- 14/18: gnu: Add go-github-com-ipfs-bbloom., guix-commits, 2024/07/22
- 10/18: gnu: Add go-github-com-pion-sctp., guix-commits, 2024/07/22
- 07/18: gnu: go-github-com-spf13-viper: Disable tests., guix-commits, 2024/07/22
- 13/18: gnu: Add go-github-com-ipfs-go-ipfs-exchange-interface., guix-commits, 2024/07/22