src.test.cmd Maven / Gradle / Ivy
The newest version!
@echo off
rem $Id: test.cmd,v 1.20 2006/04/06 21:29:05 girouxm Exp $
setlocal
if "%EMMA_HOME%"=="" (
echo EMMA_HOME not set
goto :EOF
)
set JUNIT_HOME=c:\java\junit3.8.1
set java_opts=%java_opts% -cp .\bin;%EMMA_HOME%\lib\emma.jar;%JUNIT_HOME%\bin
set java_opts=%java_opts% -showversion -Xnoclassgc -da -dsa
set server_opt= -server
set mode=1.4
if "%1"=="tiger" (
set JAVA_HOME=C:\java\jdk1.5.0_03
:: set java_opts=%java_opts% -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8888 -Dcom.sun.management.jmxremote.ssl=false
set mode=1.5
)
:: JRockit options that may be valuable
:: -Xmanagement
:: -Djrockit.lockprofiling -XXjra:delay=10,recordingtime=30
:: set java_opts=%java_opts% -Djrockit.lockprofiling -XXjra:delay=10,recordingtime=30
if "%1"=="jrockit" (
set JAVA_HOME=C:\java\jrockit-jdk1.5.0_02
set mode=1.4
set PATH=%java_home%\bin;%path%
)
if "%1"=="ibm" (
set JAVA_HOME=C:\java\IBM\Java141\jre
set mode=1.4
set PATH=%java_home%\jre\bin;%path%
set server_opt=
)
set emma=
if "%1"=="emma" (
set emma=emmarun -r txt -sp ./src/java;./src/test -ix -org.objectweb.howl.log.*Test* -ix -org.objectweb.howl.log.xa.*Worker* -ix -org.objectweb.howl.log.xa.*Test* -ix -junit.* -cp bin;%junit_home%/bin
)
pushd ..
echo on
%java_home%\bin\java %server_opt% %java_opts% %emma% org.objectweb.howl.log.ThroughputTest
@echo off
popd
endlocal
© 2015 - 2025 Weber Informatics LLC | Privacy Policy