summaryrefslogtreecommitdiff
path: root/doc/guix.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 151fcd89ac0..789e1531894 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -9582,6 +9582,12 @@ in their documentation}.
The key @code{#:go} can be used to specify the Go compiler package with
which to build the package.
+The phase @code{check} provides a wrapper for @code{go test} which
+builds a test binary (or multiple binaries), vets the code and then runs
+the test binary. Build, test and test binary flags can be provided as
+@code{#:test-flags} parameter, default is @code{'()}. See @code{go help
+test} and @code{go help testflag} for more details.
+
@end defvar
@defvar glib-or-gtk-build-system