mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-15 11:30:44 +02:00
gnu: go-k8s-io-klog-v2: Fix build.
* gnu/packages/golang-xyz.scm (go-k8s-io-klog-v2) [arguments]<test-flags>: Skip 5 tests. <phases>: Add 'remove-examples. Change-Id: I9d543b6a4a695f1c9106189af327c388faa65f3c
This commit is contained in:
parent
34c92639bc
commit
951eaefb8f
1 changed files with 16 additions and 1 deletions
|
@ -10538,7 +10538,22 @@ also provides V-style logging controlled by the @code{-v} and
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "k8s.io/klog/v2"))))
|
||||
#:import-path "k8s.io/klog/v2"
|
||||
#:test-flags
|
||||
#~(list "-skip"
|
||||
(string-join
|
||||
(list "TestDestinationsWithDifferentFlags/with_log_file_only"
|
||||
"TestDestinationsWithDifferentFlags/everything_disabled"
|
||||
"TestDestinationsWithDifferentFlags/with_log_dir_only"
|
||||
"TestDestinationsWithDifferentFlags/with_log_dir_only_and_one_output"
|
||||
"TestDestinationsWithDifferentFlags/with_log_file_and_log_dir")
|
||||
"|"))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'remove-examples
|
||||
(lambda* (#:key tests? import-path #:allow-other-keys)
|
||||
(with-directory-excursion (string-append "src/" import-path)
|
||||
(delete-file-recursively "examples")))))))))
|
||||
|
||||
(define-public go-go-mongodb-org-mongo-driver
|
||||
(package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue