summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-check.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-12-03 00:37:46 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:41:52 +0000
commit1e4a22c4d7a03ec8614b02f0878bc38b6ba54580 (patch)
treed658bb509cffd17457cd8786a35a283babc9849c /gnu/packages/golang-check.scm
parentf33d79402086e940b2fb7d8a2b4da4cb3981719e (diff)
build-system/go: Add test-subdirs option key.
Golang projects may contain subdirectories with test files, which can't be reached by providing just IMPORT-PATH to the test runner. This change implements a TEST-SUBDIRS key parameter which is by default set to "import-path/..." to run all available tests in the project, and may be limited to particular subdirs list. * guix/build-system/go.scm (go-build, go-cross-build): Add "test-subdirs" key parameter. * guix/build/go-build-system.scm (check): Add "test-subdirs" key parameter and adjust test invokation accordingly. Change-Id: Ibc107deea060f0d71e6f4e1e37c81d3b7c9992f5
Diffstat (limited to 'gnu/packages/golang-check.scm')
0 files changed, 0 insertions, 0 deletions