ilene 2003/04/16 12:18:10
Modified: test test.properties build.xml
Log:
Patch from Elson Jiang ([EMAIL PROTECTED]) to add a conferr.xsltc target
for testing.
Revision Changes Path
1.101 +5 -0 xml-xalan/test/test.properties
Index: test.properties
===================================================================
RCS file: /home/cvs/xml-xalan/test/test.properties,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- test.properties 10 Apr 2003 14:35:01 -0000 1.100
+++ test.properties 16 Apr 2003 19:18:10 -0000 1.101
@@ -19,6 +19,7 @@
api.inputDir=tests/api
conf.inputDir=tests/conf
conferr.inputDir=tests/conferr
+conferr.xsltc.inputDir=tests/conferr
contrib.inputDir=tests/contrib
# goldDir is where the 'gold' or reference files to check against live
@@ -26,6 +27,7 @@
api.goldDir=tests/api-gold
conf.goldDir=tests/conf-gold
conferr.goldDir=results-conferr/gold-unused
+conferr.xsltc.goldDir=results-conferr/gold-unused
contrib.goldDir=tests/contrib-gold
# outDir is where we put the actual output files
@@ -33,6 +35,7 @@
api.outputDir=results-api
conf.outputDir=results-conf
conferr.outputDir=results-conferr
+conferr.xsltc.outputDir=results-conferr-xsltc
contrib.outputDir=results-contrib
# The test results log will be saved in this file
@@ -40,6 +43,7 @@
api.logFile=results-api/results.xml
conf.logFile=results-conf/results.xml
conferr.logFile=results-conferr/results.xml
+conferr.xsltc.logFile=results-conferr-xsltc/results.xml
contrib.logFile=results-contrib/results.xml
# Whether or not to consult processor specific golds
@@ -52,6 +56,7 @@
conf.xsltc.processor=XalanJ-C
smoketest.conf.processor=XalanJ-I
smoketest.xsltc.conf.processor=XalanJ-C
+conferr.xsltc.processor=XalanJ-C
# Name of test (rename Accept test's result files)
1.62 +25 -2 xml-xalan/test/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-xalan/test/build.xml,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- build.xml 10 Apr 2003 14:35:01 -0000 1.61
+++ build.xml 16 Apr 2003 19:18:10 -0000 1.62
@@ -331,6 +331,29 @@
</antcall>
</target>
+
+ <target name="conferr.xsltc" description="Run TestletDriver over the
conferr negative test tree" depends="init.test">
+ <property name="testClass"
value="org.apache.qetest.xsl.StylesheetTestletDriver" />
+ <echo message="Executing Xalan conferr test-xsltc: ${testClass}" />
+ <property name="testType" value="conferr.xsltc." />
+
+ <!-- Set indent-number to 0 to match Xalan's default indentation -->
+ <property name="${testType}Processor.setAttribute.indent-number"
value="0" />
+
+ <xalantest test="${testClass}"
+ testType="${testType}"
+ classpathref="conf.class.path"
+ bootclasspathref="boot.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="${conferr.xsltc.outputDir}"
/>
+ </antcall>
+ </target>
+
<!-- ==================================================================
-->
<!-- Run tests: the normal StylesheetTestletDriver on the perf suite
-->
<!-- ==================================================================
-->
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]