[133451] trunk/doc-new/guide/xml/portfile-phase.xml

jmr at macports.org jmr at macports.org
Sun Mar 1 19:24:51 PST 2015


Revision: 133451
          https://trac.macports.org/changeset/133451
Author:   jmr at macports.org
Date:     2015-03-01 19:24:51 -0800 (Sun, 01 Mar 2015)
Log Message:
-----------
guide: document test.args (#23837)

Modified Paths:
--------------
    trunk/doc-new/guide/xml/portfile-phase.xml

Modified: trunk/doc-new/guide/xml/portfile-phase.xml
===================================================================
--- trunk/doc-new/guide/xml/portfile-phase.xml	2015-03-02 03:15:53 UTC (rev 133450)
+++ trunk/doc-new/guide/xml/portfile-phase.xml	2015-03-02 03:24:51 UTC (rev 133451)
@@ -2939,6 +2939,46 @@
       </varlistentry>
 
       <varlistentry>
+        <term>test.args</term>
+
+        <term>test.pre_args</term>
+
+        <term>test.post_args</term>
+
+        <listitem>
+          <para>Main arguments to <varname>test.cmd</varname>; optional
+          argument modifiers pass arguments before and after the main
+          arguments.</para>
+
+          <itemizedlist>
+            <listitem>
+              <para>Default: none</para>
+            </listitem>
+
+            <listitem>
+              <para>Example:</para>
+
+              <programlisting>test.args    -f Makefile.test</programlisting>
+            </listitem>
+          </itemizedlist>
+
+          <para>The following argument modifiers are available:</para>
+
+          <itemizedlist>
+            <listitem>
+              <para><literal>test.pre_args</literal>, defaults to:
+              <literal>${test.target}</literal></para>
+            </listitem>
+
+            <listitem>
+              <para><literal>test.post_args</literal>, defaults to:
+              none</para>
+            </listitem>
+          </itemizedlist>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
         <term>test.env</term>
 
         <term>test.env-append</term>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150301/ed437385/attachment.html>


More information about the macports-changes mailing list