comparison build.xml @ 50:d4b7dcc8d66e

add ability to debug mercurial tests
author Pavel.Sher
date Thu, 09 Oct 2008 13:12:32 +0400
parents 37d0e6ff7a13
children d8661b24ed37
comparison
equal deleted inserted replaced
49:ef24dd7c740e 50:d4b7dcc8d66e
30 </target> 30 </target>
31 31
32 <taskdef name="testng" classname="org.testng.TestNGAntTask" classpath="${basedir}/mercurial-tests/lib/testng-5.7-jdk15.jar"/> 32 <taskdef name="testng" classname="org.testng.TestNGAntTask" classpath="${basedir}/mercurial-tests/lib/testng-5.7-jdk15.jar"/>
33 33
34 <target name="run-tests" depends="clean, init, compile.module.mercurial-tests.production"> 34 <target name="run-tests" depends="clean, init, compile.module.mercurial-tests.production">
35 <property name="suspend" value="n"/>
35 36
36 <testng haltonfailure="no" failureProperty="failure_found" listener="org.testng.reporters.TestHTMLReporter" 37 <testng haltonfailure="no" failureProperty="failure_found" listener="org.testng.reporters.TestHTMLReporter"
37 outputdir="${basedir}/test-output" classpathref="mercurial-tests.runtime.module.classpath" dumpcommand="true"> 38 outputdir="${basedir}/test-output" classpathref="mercurial-tests.runtime.module.classpath" dumpcommand="true">
38 39
39 <jvmarg value="-ea"/> 40 <jvmarg value="-ea"/>
41 <jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=${suspend},address=5555"/>
40 42
41 <sysproperty key="java.awt.headless" value="true"/> 43 <sysproperty key="java.awt.headless" value="true"/>
42 44
43 <xmlfileset dir="${basedir}/mercurial-tests/src"> 45 <xmlfileset dir="${basedir}/mercurial-tests/src">
44 <include name="testng.xml"/> 46 <include name="testng.xml"/>