diff options
author | Troy Figiel <troy@troyfigiel.com> | 2024-02-25 10:06:52 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-11-09 21:33:39 +0000 |
commit | 56cc37bfb2d6eff76a01e499d4adf17b69a88fe3 (patch) | |
tree | 5d90ef16848f225dcd18f41519a1ea44425e88ad /configure.ac | |
parent | 7f6a9ecaa3846c710e416a3fa16daf11e2a31c1c (diff) | |
download | guix-56cc37bfb2d6eff76a01e499d4adf17b69a88fe3.tar.gz guix-56cc37bfb2d6eff76a01e499d4adf17b69a88fe3.zip |
build-system/go: Allow providing additional test flags.
By allowing the use of test flags, we can more precisely skip failing tests
(for go version >=1.20), disable the vetting stage or select a subset of tests
(e.g. if an upstream flag is provided to skip tests which require a network
connection). At the moment, the only way around these test failures is to
remove the test file completely or patch the code ourselves.
* guix/build-system/go.scm (go-build): Add test-flags variable.
(go-cross-build): Add test-flags variable.
* guix/build/go-build-system.scm (check): Pass the additional test flags to the invoke call.
* doc/guix.texi (go-build-system): Document <#:test-flags> parameter.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I4015870fbbc15503cb405fe9ef6032953a5ff17f
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions