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/02/15 21:37:32 UTC

cvs commit: xml-xalan/test runharness.bat

curcuru     01/02/15 12:37:31

  Modified:    test     runharness.bat
  Log:
  Takes -xalanj1 flag for compatibility testing
  
  Revision  Changes    Path
  1.3       +15 -3     xml-xalan/test/runharness.bat
  
  Index: runharness.bat
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/runharness.bat,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- runharness.bat	2001/01/04 19:22:27	1.2
  +++ runharness.bat	2001/02/15 20:37:28	1.3
  @@ -4,12 +4,24 @@
   @REM	Author: Shane_Curcuru@lotus.com
   
   :start
  -@REM Pass along -crimson if it's the first arg
  +@REM Pass along -crimson if it's the very first arg
   if '%1' == '-crimson' set DASHCRIMSON=-crimson
   if '%1' == '-crimson' shift
  +
  +@REM Use alternate Harness*.properties files for 1.x/2.x testing
  +set HARNESSP=Harness.properties
  +if '%1' == '-xalanj1' set HARNESSP=Harnessxalanj1.properties
  +if '%1' == '-xalanj1' shift
  +
  +@REM EXTRA_CP is used to add xalanj1compat.jar to the start of cp
  +@REM Only actually necessary for testing backwards compatibility
  +@REM  layer of 2.x, but shouldn't hurt in other cases
  +if "%JARDIR%" == "" set EXTRA_CP=..\java\build\xalanj1compat.jar
  +if not "%JARDIR%" == "" set EXTRA_CP=%JARDIR%\xalanj1compat.jar
  +
   set END_PKG=xsl
  -@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
  +@echo Harness Wrapper using '%DASHCRIMSON% xsl.XSLTestHarness %HARNESSP% %1 %2 %3 %4 %5 %6 %7 %8 %9'
  +call runtest.bat %DASHCRIMSON% XSLTestHarness %HARNESSP% %1 %2 %3 %4 %5 %6 %7 %8 %9
   set END_PKG=
   
   @REM Automatically attempt to style the results into HTML