You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2003/12/01 16:17:27 UTC
cvs commit: jakarta-jmeter build.xml
sebb 2003/12/01 07:17:27
Modified: . build.xml
Log:
set java.awt.headless for gump runs; added test-only target
To simulate a gump run, invoke ant with -Dgump.run=true
Revision Changes Path
1.139 +5 -4 jakarta-jmeter/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-jmeter/build.xml,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -r1.138 -r1.139
--- build.xml 30 Nov 2003 14:09:26 -0000 1.138
+++ build.xml 1 Dec 2003 15:17:26 -0000 1.139
@@ -830,16 +830,17 @@
<target name="docs-all" depends="docs-site,docs-printable,docs-api" description="Generate documentation."/>
- <target name="test" depends="install" description="Run tests">
+ <target name="test" depends="install,test-only" description="Run tests"/>
+
+ <target name="test-only">
<echo >gump.run = ${gump.run}</echo>
<java classname="org.apache.jorphan.test.AllTests" fork="yes" dir="${basedir}/bin">
<classpath>
<path refid="classpath"/>
<fileset dir="${dest.jar}" includes="*.jar"/>
</classpath>
- <!-- Gump already does this...
+ <!-- Run headless if running under Gump -->
<sysproperty key="java.awt.headless" value="${gump.run}"/>
- -->
<arg value="../lib/ext"/>
<arg value="./jmetertest.properties"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org