svn commit: r53923 - head/en_US.ISO8859-1/books/porters-handbook/uses

Dmitri Goutnik <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: dmgk (ports committer)
Date: Thu Feb 20 15:31:57 2020
New Revision: 53923
URL: https://svnweb.freebsd.org/changeset/doc/53923

Log:
  Porter's Handbook: Document GO_TESTTARGET and GO_TESTFLAGS
  
  Reviewed by:	tobik
  Approved by:	eadler
  Differential Revision:	https://reviews.freebsd.org/D22413

Modified:
  head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml

Modified: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml	Thu Feb 20 14:59:09 2020	(r53922)
+++ head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml	Thu Feb 20 15:31:57 2020	(r53923)
@@ -1146,9 +1146,8 @@ USE_GNOME=	gnomemenus3:build intlhack</programlisting>
       switched on with <literal>modules</literal> argument.
       <literal>no_targets</literal> will setup build environment like
       <varname>GO_ENV</varname>, <varname>GO_BUILDFLAGS</varname> but
-      skip creating <buildtarget>post-extract</buildtarget>,
-      <buildtarget>do-build</buildtarget> and
-      <buildtarget>do-install</buildtarget> targets.
+      skip creating <buildtarget>post-extract</buildtarget> and
+      <buildtarget>do-{build,install,test}</buildtarget> targets.
       <literal>run</literal> will also add a run dependency on
       what is in <varname>GO_PORT</varname>.</para>
 
@@ -1184,6 +1183,16 @@ USE_GNOME=	gnomemenus3:build intlhack</programlisting>
       </varlistentry>
 
       <varlistentry>
+	<term><varname>GO_TESTTARGET</varname></term>
+
+	<listitem>
+	  <para>The packages to test.  The default
+	    value is <literal>./...</literal> (the current package
+	    and all subpackages).</para>
+	</listitem>
+      </varlistentry>
+
+      <varlistentry>
 	<term><varname>CGO_CFLAGS</varname></term>
 
 	<listitem>
@@ -1208,7 +1217,16 @@ USE_GNOME=	gnomemenus3:build intlhack</programlisting>
 
 	<listitem>
 	  <para>Additional build arguments to be passed to
-	    <command>go install</command>.</para>
+	    <command>go build</command>.</para>
+	</listitem>
+      </varlistentry>
+
+      <varlistentry>
+	<term><varname>GO_TESTFLAGS</varname></term>
+
+	<listitem>
+	  <para>Additional build arguments to be passed to
+	    <command>go test</command>.</para>
 	</listitem>
       </varlistentry>
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.