diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2011-10-18 16:10:30 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2011-10-18 16:10:30 +0000 |
commit | 85e2eebf17da1506fcdfe541261030e56253239c (patch) | |
tree | ba3ea4e0a45b3afae2e11a04a3db8599df7ebed9 /build.xml | |
parent | 3ad4da6d8cd5f11a8009c70f59d613b52cf4b50d (diff) | |
download | javassist-85e2eebf17da1506fcdfe541261030e56253239c.tar.gz javassist-85e2eebf17da1506fcdfe541261030e56253239c.zip |
unit test for JASSIST-145
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@592 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 19 |
1 files changed, 8 insertions, 11 deletions
@@ -17,6 +17,7 @@ <property name="build.classes.dir" value="${build.dir}/classes"/> <property name="test.src.dir" value="${basedir}/src/test"/> <property name="test.build.dir" value="${basedir}/build/test-classes"/> + <property name="test.run.dir" value="${basedir}/runtest"/> <property name="test.reports.dir" value = "${basedir}/build/test-output"/> <property name="run.dir" value="${build.classes.dir}"/> @@ -38,7 +39,7 @@ <path id="test.classpath"> <pathelement location="${test.build.dir}"/> <pathelement location="${lib.dir}/junit.jar"/> - <pathelement location="${build.classes.dir}"/> + <pathelement location="${build.classes.dir}"/> </path> <property name="test.classpath" refid="test.classpath"/> @@ -50,7 +51,8 @@ <mkdir dir="${build.dir}"/> <mkdir dir="${build.classes.dir}"/> <mkdir dir="${test.build.dir}"/> - <mkdir dir="${test.reports.dir}"/> + <mkdir dir="${test.reports.dir}"/> + <mkdir dir="${test.run.dir}"/> </target> <!-- =================================================================== --> @@ -91,16 +93,11 @@ </javac> </target> - <target name="test" depends="test-compile"> - <junit fork="true" printsummary="true"> + <target name="runtest" depends="test-compile"> + <junit fork="true" printsummary="true" dir="${test.run.dir}"> <classpath refid="test.classpath"/> - <formatter type="plain"/> - <formatter type="xml"/> - <batchtest todir="${test.reports.dir}"> - <fileset dir="${test.build.dir}"> - <include name="**/*Test.*"/> - </fileset> - </batchtest> + <formatter type="xml" extension=".xml"/> + <test name="javassist.JvstTest" outfile="TestLog" /> </junit> </target> |