Made "ant tests" compile and run the tests not just compile them.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5557 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-11-18 21:14:56 +00:00
parent 792a5142cd
commit 1a6e705f81
2 changed files with 15 additions and 13 deletions
+8 -5
View File
@@ -266,16 +266,18 @@
</copy>
</target>
<!-- builds the various tests -->
<!-- runs our tests -->
<target name="tests">
<ant dir="tests" target="compile"/>
<ant dir="tests" target="tests"/>
</target>
<!-- a target for rebuilding everything -->
<target name="all" depends="clean,prepare,compile,aslib,ninstall,javadoc,tests,dist"/>
<target name="all" depends="clean,prepare,compile,aslib,ninstall,javadoc,dist"/>
<!-- builds our distribution files (war and jar) -->
<target name="dist" depends="prepare,compile,procstream,aslib,ninstall,tests">
<target name="dist" depends="prepare,compile,procstream,aslib,ninstall">
<!-- build our tests since that isn't otherwise normally done -->
<ant dir="tests" target="compile"/>
<!-- build our various jar files -->
<jar destfile="${deploy.dir}/${lib.name}-base.jar">
<fileset dir="${classes.dir}" includes="com/threerings/NaryaLog**"/>
@@ -284,7 +286,8 @@
excludes="**/*.c,**/Makefile,**/*.h"/>
</jar>
<jar destfile="${deploy.dir}/${lib.name}-distrib.jar">
<fileset dir="${classes.dir}" includes="com/threerings/presents/**" excludes="**/*.html,**/*.png"/>
<fileset dir="${classes.dir}" includes="com/threerings/presents/**"
excludes="**/*.html,**/*.png"/>
<fileset dir="${classes.dir}" includes="com/threerings/crowd/**"/>
<fileset dir="${classes.dir}" includes="com/threerings/admin/**"/>
<fileset dir="${classes.dir}" includes="com/threerings/bureau/**"/>