more cruisecontrol support
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2869 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
ddeff975a8
commit
ecac33ec5c
@ -92,24 +92,32 @@
|
||||
|
||||
<property name="junit.dir" value ="junit-results"/>
|
||||
|
||||
<target name="runtests" depends="build.update.jar" description="run junit tests for com.ibm.wala.core.tests">
|
||||
<target name="runtests" depends="clean build.update.jar" description="run junit tests for com.ibm.wala.core.tests">
|
||||
<delete dir="${junit.dir}"/>
|
||||
<mkdir dir="${junit.dir}"/>
|
||||
<junit fork="yes" errorProperty="test.failed" failureProperty="test.failed">
|
||||
<jvmarg value="-Xmx800M" />
|
||||
<jvmarg value="-ea" />
|
||||
<jvmarg value="-Dcom.ibm.wala.junit.profiler=short" />
|
||||
<classpath>
|
||||
<path refid="@dot.classpath" />
|
||||
<pathelement path="@dot" />
|
||||
<pathelement path="../com.ibm.wala.core/dat" />
|
||||
<pathelement path="../com.ibm.wala.core.testdata/bin" />
|
||||
<pathelement path="../com.ibm.wala.core.testdata/src" />
|
||||
<pathelement path="../com.ibm.wala.core.testdata/@dot" />
|
||||
</classpath>
|
||||
|
||||
<batchtest todir="${junit.dir}">
|
||||
<!-- zipfileset src="com.ibm.wala.core.tests_1.1.3.200805291132.jar" -->
|
||||
<fileset dir="@dot">
|
||||
<include name="**/*Test*.class"/>
|
||||
<exclude name="**/*$*.class"/>
|
||||
<exclude name="**/*TestUtil.class"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
|
||||
<formatter type="brief" usefile="false" />
|
||||
<formatter type="plain" />
|
||||
<formatter type="xml" />
|
||||
</junit>
|
||||
<fail message="Tests failed: check test reports." if="test.failed" />
|
||||
@ -200,11 +208,6 @@
|
||||
|
||||
<target name="gather.bin.parts" depends="init" if="destination.temp.folder">
|
||||
<mkdir dir="${destination.temp.folder}/com.ibm.wala.core.tests_1.1.3.200805291132"/>
|
||||
<copy todir="${destination.temp.folder}/com.ibm.wala.core.tests_1.1.3.200805291132" failonerror="true" overwrite="false">
|
||||
<fileset dir="${build.result.folder}/@dot">
|
||||
<include name="**"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy todir="${destination.temp.folder}/com.ibm.wala.core.tests_1.1.3.200805291132" failonerror="true" overwrite="false">
|
||||
<fileset dir="${basedir}">
|
||||
<include name="META-INF/"/>
|
||||
@ -265,5 +268,4 @@
|
||||
<zip destfile="${plugin.destination}/com.ibm.wala.core.tests_1.1.3.200805291132.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
|
||||
<delete dir="${temp.folder}"/>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
|
||||
</target>
|
||||
|
||||
<target name="build.update.jar" depends="init" description="Build the plug-in: com.ibm.wala.core for an update site.">
|
||||
<target name="build.update.jar" depends="clean" description="Build the plug-in: com.ibm.wala.core for an update site.">
|
||||
<delete dir="${temp.folder}"/>
|
||||
<mkdir dir="${temp.folder}"/>
|
||||
<antcall target="build.jars"/>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user