You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by cu...@apache.org on 2001/01/04 20:22:31 UTC
cvs commit: xml-xalan/test ConformanceTest.bat runharness.bat
curcuru 01/01/04 11:22:30
Modified: test ConformanceTest.bat runharness.bat
Log:
Automatically call viewResults.bat after running test as a convenience
Revision Changes Path
1.3 +9 -2 xml-xalan/test/ConformanceTest.bat
Index: ConformanceTest.bat
===================================================================
RCS file: /home/cvs/xml-xalan/test/ConformanceTest.bat,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ConformanceTest.bat 2000/12/19 16:49:40 1.2
+++ ConformanceTest.bat 2001/01/04 19:22:27 1.3
@@ -10,8 +10,15 @@
if '%1' == '-crimson' set DASHCRIMSON=-crimson
if '%1' == '-crimson' shift
set END_PKG=xsl
-@echo Wrapper using '%DASHCRIMSON% xsl.ConformanceTest -load ConformanceTest.properties arg1 arg2...'
+@echo Wrapper using '%DASHCRIMSON% xsl.ConformanceTest -load ConformanceTest.properties %1 %2 %3 %4 %5 %6 %7 %8 %9'
call runtest.bat %DASHCRIMSON% ConformanceTest -load ConformanceTest.properties %1 %2 %3 %4 %5 %6 %7 %8 %9
set END_PKG=
-set DASHCRIMSON=
+
+@REM Automatically attempt to style the results into HTML
+@REM Note: this is optional, but frequent enough to just try it here
+@REM Call with no args to get default processing; note that if
+@REM you've overridden logFile, this may not work
+call viewResults.bat %DASHCRIMSON% results-conf\ConformanceTest.xml results-conf\ConformanceTest.html
+
:end
+set DASHCRIMSON=
1.2 +14 -3 xml-xalan/test/runharness.bat
Index: runharness.bat
===================================================================
RCS file: /home/cvs/xml-xalan/test/runharness.bat,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- runharness.bat 2000/12/05 19:16:04 1.1
+++ runharness.bat 2001/01/04 19:22:27 1.2
@@ -4,9 +4,20 @@
@REM Author: Shane_Curcuru@lotus.com
:start
+@REM Pass along -crimson if it's the first arg
+if '%1' == '-crimson' set DASHCRIMSON=-crimson
+if '%1' == '-crimson' shift
set END_PKG=xsl
-@echo Harness Wrapper using 'xsl.XSLTestHarness Harness.properties'
-@echo Running multiple tests= from Harness.properties now...
-call runtest.bat XSLTestHarness Harness.properties %2 %3 %4 %5 %6 %7 %8 %9
+@echo Harness Wrapper using '%DASHCRIMSON% xsl.XSLTestHarness Harness.properties %1 %2 %3 %4 %5 %6 %7 %8 %9'
+call runtest.bat %DASHCRIMSON% XSLTestHarness Harness.properties %1 %2 %3 %4 %5 %6 %7 %8 %9
set END_PKG=
+
+@REM Automatically attempt to style the results into HTML
+@REM Note: this is optional, but frequent enough to just try it here
+@REM Call with no args to get default processing; note that if
+@REM you've overridden logFile, this may not work
+call viewHarnessResults.bat %DASHCRIMSON% results-api\Harness.xml results-api\Harness.html
+
:end
+set DASHCRIMSON=
+