[32040] trunk/doc-new/guide/xml/portfile-phase.7.xml
simon at macports.org
simon at macports.org
Fri Dec 14 03:21:15 PST 2007
Revision: 32040
http://trac.macosforge.org/projects/macports/changeset/32040
Author: simon at macports.org
Date: 2007-12-14 03:21:14 -0800 (Fri, 14 Dec 2007)
Log Message:
-----------
doc-new: Added "Test phase keywords" section from old portfile manpage.
Modified Paths:
--------------
trunk/doc-new/guide/xml/portfile-phase.7.xml
Modified: trunk/doc-new/guide/xml/portfile-phase.7.xml
===================================================================
--- trunk/doc-new/guide/xml/portfile-phase.7.xml 2007-12-14 11:02:43 UTC (rev 32039)
+++ trunk/doc-new/guide/xml/portfile-phase.7.xml 2007-12-14 11:21:14 UTC (rev 32040)
@@ -77,6 +77,15 @@
</varlistentry>
<varlistentry>
+ <term>test</term>
+
+ <listitem>
+ <para>Execute commands to run test suites bundled with a
+ port.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>destroot</term>
<listitem>
@@ -2324,6 +2333,76 @@
</variablelist>
</section>
+ <section id="reference.phases.test">
+ <title>Test Phase Keywords</title>
+
+ <para>The list of keywords related to the test phase.</para>
+
+ <variablelist>
+ <varlistentry>
+ <term>test.run</term>
+
+ <listitem>
+ <para>Enable running test suites bundled with a port.</para>
+
+ <itemizedlist>
+ <listitem>
+ <para>Default: <option>no</option></para>
+ </listitem>
+
+ <listitem>
+ <para>Example:</para>
+
+ <programlisting>test.run yes</programlisting>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>test.cmd</term>
+
+ <listitem>
+ <para>Test command to run relative to
+ <varname>${worksrcdir}</varname>.</para>
+
+ <itemizedlist>
+ <listitem>
+ <para>Default: <varname>${build.cmd}</varname></para>
+ </listitem>
+
+ <listitem>
+ <para>Example:</para>
+
+ <programlisting>test.cmd checks.sh</programlisting>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>test.target</term>
+
+ <listitem>
+ <para>Test target to pass to <varname>${test.cmd}</varname>.</para>
+
+ <itemizedlist>
+ <listitem>
+ <para>Default: <literal>test</literal></para>
+ </listitem>
+
+ <listitem>
+ <para>Example:</para>
+
+ <programlisting>test.target checks</programlisting>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ </varlistentry>
+ </variablelist>
+ </section>
+
<section id="reference.phases.destroot">
<title>Destroot Phase Keywords</title>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071214/383863ee/attachment.html
More information about the macports-changes
mailing list