You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by ju...@apache.org on 2001/11/21 17:33:22 UTC

cvs commit: jakarta-slide/testsuite/bin TProcessor.CMD

juergen     01/11/21 08:33:22

  Modified:    testsuite/bin TProcessor.CMD
  Log:
  Documented -pattern and minor changes
  
  Revision  Changes    Path
  1.2       +11 -7     jakarta-slide/testsuite/bin/TProcessor.CMD
  
  Index: TProcessor.CMD
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/bin/TProcessor.CMD,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TProcessor.CMD	2001/11/20 14:35:30	1.1
  +++ TProcessor.CMD	2001/11/21 16:33:22	1.2
  @@ -10,7 +10,6 @@
   rem       (3) TP_STORE identifies the Slide store for the TProcessor to operate on.
   rem       (4) TP_USERS is the number of concurrent users for the multiuser testcases.
   rem       (5) TP_ITERATIONS is the number of iterations each concurrent user performs an action.
  -set TP_HOME=..
   set DAV_HOST=localhost
   set DAV_PORT=8080
   set DAV_NAME=slide
  @@ -21,6 +20,8 @@
   set TESTCASE_PATTERN=
   set PAR=
   
  +if "%TP_HOME%" == "" set TP_HOME=..
  +
   rem Process parms
   :LOOP
   if "%1" == "" goto INVOKE_TP
  @@ -34,7 +35,7 @@
   if "%1" == "-store" goto SET_STORE
   if "%1" == "-users" goto SET_USERS
   if "%1" == "-iterations" goto SET_ITERATIONS
  -if "%1" == "-testcase" goto SET_NAME
  +if "%1" == "-testcase" goto SET_TESTCASE
   if "%1" == "-pattern" goto SET_PATTERN
   goto SET_PAR
   
  @@ -85,7 +86,7 @@
   shift
   goto LOOP
   
  -:SET_NAME
  +:SET_TESTCASE
   shift
   set TESTCASE_PATH=%1
   shift
  @@ -111,7 +112,7 @@
   set OPTS=%OPTS% -Dxdav.globalVariableIterationCountSmall=%TP_ITER_SMALL%
   
   set CLASSPATH=
  -call AppendCP %TP_HOME%\lib
  +call cpbuild %TP_HOME%\lib
   
   if not "%TESTCASE_PATH%" == "" goto SET_SINGLE
   if not "%TESTCASE_PATTERN%" == "" goto SET_PATTERN
  @@ -149,7 +150,7 @@
   echo   -users ^<number_of_users^>           (default: 10)
   echo   -iterations ^<number_of_iterations^> (default: 10)
   echo   -testcase ^<xmltestcase_path^>       (relative to the home directory)
  -echo   -pattern ^<xmltestcase_pattern^>
  +echo   -pattern ^<xmltestcase_pattern^>     (wildard is *, file separator is \\)
   echo.
   echo If both, -testcase and -pattern are omitted, all testcases are executed.
   echo.
  @@ -158,10 +159,13 @@
   echo   tprocessor
   echo.
   echo   (2) Execute one specific testcase
  -echo   tprocessor -testcase /testsuite/junit/xmltestcases/copy/code/copy201.xml 
  +echo   tprocessor -testcase \testsuite\junit\xmltestcases\copy\code\copy201.xml 
   echo.
   echo   (3) Execute all XML testcases which start with 'copy'
  -echo   tprocessor -pattern "copy*.xml"
  +echo   tprocessor -pattern *\\copy*.xml
  +echo.
  +echo   (4) Execute all XML testcases which are bellow \testsuite\junit\xmltestcases\copy
  +echo   tprocessor -pattern *\\copy\\*.xml
   echo.
   goto END
   
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>