mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 14:52:05 -05:00
gnu: go-1.19: Skip 2 gccgo tests.
* gnu/packages/golang.scm (go-1.19)[arguments]: Add a phase to skip two tests depending on specific versions of gccgo.
This commit is contained in:
parent
451dff6129
commit
48f0da4f4d
1 changed files with 11 additions and 0 deletions
|
@ -905,6 +905,17 @@ (define-public go-1.19
|
||||||
(substitute-keyword-arguments (package-arguments go-1.18)
|
(substitute-keyword-arguments (package-arguments go-1.18)
|
||||||
((#:phases phases)
|
((#:phases phases)
|
||||||
#~(modify-phases #$phases
|
#~(modify-phases #$phases
|
||||||
|
;; These are recurring test failures, depending on having a new
|
||||||
|
;; enough version of gccgo. gccgo-12.2 fails with go-1.19.7.
|
||||||
|
;; https://github.com/golang/go/issues/22224
|
||||||
|
;; https://github.com/golang/go/issues/25324
|
||||||
|
(add-after 'unpack 'skip-TestGoPathShlibGccgo-tests
|
||||||
|
(lambda _
|
||||||
|
(substitute* "misc/cgo/testshared/shared_test.go"
|
||||||
|
(("TestGoPathShlibGccgo.*" all)
|
||||||
|
(string-append all "\n t.Skip(\"golang.org/issue/22224\")\n"))
|
||||||
|
(("TestTwoGopathShlibsGccgo.*" all)
|
||||||
|
(string-append all "\n t.Skip(\"golang.org/issue/22224\")\n")))))
|
||||||
(replace 'install-doc-files
|
(replace 'install-doc-files
|
||||||
(lambda _
|
(lambda _
|
||||||
(for-each (lambda (file)
|
(for-each (lambda (file)
|
||||||
|
|
Loading…
Reference in a new issue