1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 18:40:57 +02:00

gnu: go-google-golang-org-protobuf: Enable all tests

* gnu/packages/golang-build.scm (go-google-golang-org-protobuf)
[arguments]: <#:phases>: Remove 'disable-failing-tests.

Change-Id: Iaec1e3238765e20ce7caecf60cdae7bc236161fc
This commit is contained in:
Sharlatan Hellseher 2024-09-12 22:53:50 +01:00
parent cd590445c2
commit 4b88b53d01
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -868,18 +868,6 @@ values.")
#: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)