aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-07-22 22:39:07 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-07-22 22:40:38 +0100
commit76adf5e3ca0f32c4369f1b61fc0cd32937384118 (patch)
tree5df009d4b9eb4ec519cc0068b80d7c3cfdf3b01c /gnu/packages
parentb70893b5c2168a4d3a7f6a497fb36608900c83ae (diff)
downloadguix-76adf5e3ca0f32c4369f1b61fc0cd32937384118.tar.gz
guix-76adf5e3ca0f32c4369f1b61fc0cd32937384118.zip
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
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/golang.scm12
1 files changed, 12 insertions, 0 deletions
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)