pauldick 02/03/06 13:59:54
Modified: test build.xml
Log:
Added perf.xsltc target
Revision Changes Path
1.41 +20 -0 xml-xalan/test/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-xalan/test/build.xml,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- build.xml 13 Feb 2002 17:01:21 -0000 1.40
+++ build.xml 6 Mar 2002 21:59:54 -0000 1.41
@@ -1062,6 +1062,26 @@
</antcall>
</target>
+ <target name="perf.xsltc" description="Run TestletDriver over the perf
tree using xsltc">
+ <!-- Set the default conformance test driver, user may override -->
+ <property name="testClass"
value="org.apache.qetest.xsl.StylesheetTestletDriver" />
+ <echo message="Executing Xalan-xsltc perf test: ${testClass}" />
+ <!-- Special: allow explicit test.properties overrides for inputDir,
etc for xsltc -->
+ <property name="testType" value="perf.xsltc." />
+ <xalantest test="${testClass}"
+ testType="${testType}"
+ classpathref="xsltc.runtime.class.path"
+ fork="${fork-tests}"
+ failonerror="${fail-on-error}">
+ <!-- Explicitly set TransformerFactory property to use xsltc -->
+ <sysproperty key="javax.xml.transform.TransformerFactory"
value="org.apache.xalan.xsltc.trax.TransformerFactoryImpl"/>
+ </xalantest>
+ <antcall target="scan">
+ <param name="scan.outputDir" value="${perf.xsltc.outputDir}"/>
+ </antcall>
+ </target>
+
+
<!-- ==================================================================
-->
<!-- Run tests: a specific named API test with xsltc code
-->
<!-- ==================================================================
-->
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]