gnu: gotestsum: Move to check.

* gnu/packages/golang.scm (gotestsum): Move from here ...
* gnu/packages/check.scm: ... to here.

Change-Id: I83f22e1f7dc1ad43340a02b60b75bf4e98b65474
This commit is contained in:
Sharlatan Hellseher 2024-12-20 14:23:04 +00:00
parent a6a229d08f
commit 87f3b9cfd1
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 48 additions and 47 deletions

View file

@ -32,6 +32,7 @@
;;; Copyright © 2019 Chris Marusich <cmmarusich@gmail.com>
;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org>
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2020 Danny Milosavljevic <dannym@scratchpost.org>
;;; Copyright © 2020 Josh Marshall <joshua.r.marshall.1991@gmail.com>
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
@ -1124,6 +1125,53 @@ (define-public googlebenchmark
similar to unit tests.")
(license license:asl2.0)))
(define-public gotestsum
(package
(name "gotestsum")
(version "1.12.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/gotestyourself/gotestsum")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0fx92jh6ay4rk1ljbgp9b2m4fafqwy0a19q7lhdabgb1j8dvgxvs"))))
(build-system go-build-system)
(arguments
(list
#:import-path "gotest.tools/gotestsum"
#:test-flags
#~(list "-skip"
(string-join
(list "TestE2E_IgnoresWarnings"
"TestE2E_MaxFails_EndTestRun"
"TestScanTestOutput_TestTimeoutPanicRace/panic-race-2")
"|"))
;; Run just unit test, integration tests from "testjson" require: run
;; 'go test . -update' to automatically update
;; testdata/summary/with-run-id to the new expected value.'
#:test-subdirs #~(list "cmd/..." "internal/...")))
(native-inputs
(list go-github-com-bitfield-gotestdox
go-github-com-dnephin-pflag
go-github-com-fatih-color
go-github-com-fsnotify-fsnotify
go-github-com-google-go-cmp
go-github-com-google-shlex
go-golang-org-x-sync
go-golang-org-x-sys
go-golang-org-x-term
go-golang-org-x-tools
go-gotest-tools-v3))
(synopsis "Go test runner with output optimized for humans")
(description "This package provides a @code{go test} runner with output
optimized for humans, JUnit XML for CI integration, and a summary of the
test results.")
(home-page "https://github.com/gotestyourself/gotestsum")
(license license:asl2.0)))
(define-public greatest
(package
(name "greatest")

View file

@ -4474,53 +4474,6 @@ (define-public go-github-com-ddevault-go-libvterm
"This is a fork of another go-libvterm library for use with aerc.")
(license license:expat))))
(define-public gotestsum
(package
(name "gotestsum")
(version "1.12.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/gotestyourself/gotestsum")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0fx92jh6ay4rk1ljbgp9b2m4fafqwy0a19q7lhdabgb1j8dvgxvs"))))
(build-system go-build-system)
(arguments
(list
#:import-path "gotest.tools/gotestsum"
#:test-flags
#~(list "-skip"
(string-join
(list "TestE2E_IgnoresWarnings"
"TestE2E_MaxFails_EndTestRun"
"TestScanTestOutput_TestTimeoutPanicRace/panic-race-2")
"|"))
;; Run just unit test, integration tests from "testjson" require: run
;; 'go test . -update' to automatically update
;; testdata/summary/with-run-id to the new expected value.'
#:test-subdirs #~(list "cmd/..." "internal/...")))
(native-inputs
(list go-github-com-bitfield-gotestdox
go-github-com-dnephin-pflag
go-github-com-fatih-color
go-github-com-fsnotify-fsnotify
go-github-com-google-go-cmp
go-github-com-google-shlex
go-golang-org-x-sync
go-golang-org-x-sys
go-golang-org-x-term
go-golang-org-x-tools
go-gotest-tools-v3))
(synopsis "Go test runner with output optimized for humans")
(description "This package provides a @code{go test} runner with output
optimized for humans, JUnit XML for CI integration, and a summary of the
test results.")
(home-page "https://github.com/gotestyourself/gotestsum")
(license license:asl2.0)))
(define-public go-github-com-macronut-go-tproxy
(package
(name "go-github-com-macronut-go-tproxy")