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/20 00:36:27 UTC
cvs commit: xml-xalan/test TestThreadsX1.bat
curcuru 01/01/19 15:36:27
Added: test TestThreadsX1.bat
Log:
Simple batch script to run Xalan-J 1.x TestThreads
Revision Changes Path
1.1 xml-xalan/test/TestThreadsX1.bat
Index: TestThreadsX1.bat
===================================================================
@echo off
@goto start
@REM Name: TestThreadsX1.bat
@REM Author: Shane_Curcuru@lotus.com
@REM Simple wrapper for TestThreads with Xalan-J 1.x API's
:start
if "%1" == "" set TEST_NAME=TestThreads
if not "%1" == "" set TEST_NAME=%1
set END_PKG=xalanj1
if not "%JAVA_OPTS%" == "" set JAVA_OPTS_SAVE=%JAVA_OPTS%
@REM for this test, we want to test thread saftey, not performance,
@REM so we might as well ask for a bunch of memory
set JAVA_OPTS=-mx64M %JAVA_OPTS%
@REM EXTRA_CP is used to add xalanj1compat.jar to the start of cp
if "%JARDIR%" == "" set EXTRA_CP=..\java\build\xalanj1compat.jar
if not "%JARDIR%" == "" set EXTRA_CP=%JARDIR%\xalanj1compat.jar
@echo Wrapper using 'xalanj1.%TEST_NAME% -load TestThreads.properties'
call runtest.bat %TEST_NAME% -load TestThreads.properties %2 %3 %4 %5 %6 %7 %8 %9
set EXTRA_CP=
set END_PKG=
set TEST_NAME=
set JAVA_OPTS=
if not "%JAVA_OPTS_SAVE%" == "" set JAVA_OPTS=%JAVA_OPTS_SAVE%
:end