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 pn...@apache.org on 2003/09/05 18:30:25 UTC
cvs commit: jakarta-slide/testsuite/bin TProcessor.CMD
pnever 2003/09/05 09:30:25
Modified: testsuite/bin TProcessor.CMD
Log:
Added options:
-debug to attach a debugger
-verbose for additional output
Revision Changes Path
1.24 +23 -0 jakarta-slide/testsuite/bin/TProcessor.CMD
Index: TProcessor.CMD
===================================================================
RCS file: /home/cvs/jakarta-slide/testsuite/bin/TProcessor.CMD,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- TProcessor.CMD 20 Aug 2003 14:52:15 -0000 1.23
+++ TProcessor.CMD 5 Sep 2003 16:30:25 -0000 1.24
@@ -34,6 +34,8 @@
set TESTCASE_PATH=
set TESTCASE_PATTERN=
set PAR=
+set TP_DEBUG=false
+set TP_VERBOSE=false
if "%TP_HOME%" == "" set TP_HOME=..
@@ -60,6 +62,8 @@
if "%1" == "-testcase" goto SET_TESTCASE
if "%1" == "-pattern" goto SET_PATTERN
if "%1" == "-exclude" goto SET_EXCLUDE
+if "%1" == "-debug" goto SET_DEBUG
+if "%1" == "-verbose" goto SET_VERBOSE
goto SET_PAR
:SET_PAR
@@ -169,6 +173,18 @@
shift
goto LOOP
+:SET_DEBUG
+shift
+set TP_DEBUG=true
+shift
+goto LOOP
+
+:SET_VERBOSE
+shift
+set TP_VERBOSE=true
+shift
+goto LOOP
+
:INVOKE_TP
set /A TP_ITER_SMALL=%TP_ITERATIONS%/2
@@ -227,6 +243,13 @@
set OPTS=%OPTS% -Dxdav.workhost=%TP_WORKHOST%
set OPTS=%OPTS% -Dhttpclient.authentication.preemptive=true
set OPTS=%OPTS% -Dxdav.globalVariableXMLReference=taminoReference/
+
+if "%TP_VERBOSE%" == "true" set OPTS=%OPTS% -Dxdav.tracingRequest=var
+
+if "%TP_DEBUG%" == "true" set OPTS=%OPTS% -Xdebug
+if "%TP_DEBUG%" == "true" set OPTS=%OPTS% -Xnoagent
+if "%TP_DEBUG%" == "true" set OPTS=%OPTS% -Djava.compiler=NONE
+if "%TP_DEBUG%" == "true" set OPTS=%OPTS% -Xrunjdwp:transport=dt_socket,address=20500,server=y,suspend=y
set CLASSPATH=
call cpbuild %TP_HOME%\lib