mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: go-github-com-quic-go-quic-go: Simplify.
* gnu/packages/golang-web.scm (go-github-com-quic-go-quic-go): [arguments] <phases>: Remove 'remove-failing-tests as all tests have been passed. Change-Id: I8e24612bd7e584c48b712a1f97aecf201aff7336
This commit is contained in:
parent
8d4f5743d2
commit
7b17abfa59
1 changed files with 5 additions and 12 deletions
|
@ -5618,26 +5618,19 @@ the Go standard library}.")
|
||||||
#:import-path "github.com/quic-go/quic-go"
|
#:import-path "github.com/quic-go/quic-go"
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
;; TODO: Figure out why some tests fail.
|
|
||||||
(add-after 'unpack 'remove-failing-tests
|
|
||||||
(lambda* (#:key import-path #:allow-other-keys)
|
|
||||||
(with-directory-excursion (string-append "src/" import-path)
|
|
||||||
(for-each delete-file
|
|
||||||
(list "integrationtests/self/timeout_test.go"
|
|
||||||
"server_test.go")))))
|
|
||||||
;; Test steps are taken from GitHub Actions -
|
;; Test steps are taken from GitHub Actions -
|
||||||
;; <https://github.com/quic-go/quic-go/blob/v0.42.0/.github/workflows/unit.yml>.
|
;; <https://github.com/quic-go/quic-go/blob/v0.42.0/
|
||||||
|
;; .github/workflows/unit.yml>.
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? import-path #:allow-other-keys)
|
(lambda* (#:key tests? import-path #:allow-other-keys)
|
||||||
(when tests?
|
(when tests?
|
||||||
(with-directory-excursion (string-append "src/" import-path)
|
(with-directory-excursion (string-append "src/" import-path)
|
||||||
(invoke "ginkgo" "-r" "-v"
|
(invoke "ginkgo" "-r" "-v"
|
||||||
(string-append "--procs="
|
(string-append
|
||||||
(number->string (parallel-job-count)))
|
"--procs=" (number->string (parallel-job-count)))
|
||||||
"--randomize-all"
|
"--randomize-all"
|
||||||
"--randomize-suites"
|
"--randomize-suites"
|
||||||
"--skip-package"
|
"--skip-package=integrationtests"))))))))
|
||||||
"integrationtests"))))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list go-ginkgo
|
(list go-ginkgo
|
||||||
go-github-com-onsi-ginkgo-v2
|
go-github-com-onsi-ginkgo-v2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue