-->
<xsl:template name="run-tests">
<xsl:param name="content"/>
+ <xsl:param name="options"/>
<xsl:param name="msw"><is-msw/></xsl:param>
<test>
<defaults content="{$content}">
<command>
<xsl:choose>
<xsl:when test="$msw = 'true'">
- <run-tests-win/>
+ <run-tests-win options="{$options}"/>
</xsl:when>
<xsl:otherwise>
- <run-tests-unix/>
+ <run-tests-unix options="{$options}"/>
</xsl:otherwise>
</xsl:choose>
</command>
simple command so that these aren't necessary.
-->
<xsl:template name="run-tests-win">
+ <xsl:param name="options"/>
<normalize-space>
cd tests &&
(for /d %x in (..\lib\*_dll) do @PATH=%x;%PATH%) &&
</xsl:template>
<xsl:template name="run-tests-unix">
+ <xsl:param name="options"/>
<normalize-space>
cd tests &&
-./test --timing &&
+./test <xsl:value-of select="normalize-space($options)"/> &&
if [ -n "$DISPLAY" -a -x test_gui ]; then ./test_gui; fi
</normalize-space>
</xsl:template>