Make it possible to run unit tests without running the media tests.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1122 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Michael Bayne
2011-02-03 20:03:12 +00:00
parent 8718c7a7f5
commit b69202d0ef
+4 -2
View File
@@ -251,8 +251,7 @@
</target>
<property name="test" value=""/>
<target name="-test-rsrcs" depends="test-colorpos,test-tsbundles,test-cbundles"/>
<target name="tests" depends="compile,-test-rsrcs"
<target name="test-units" depends="compile"
description="Runs unit tests. Use -Dtest=Foo to run only FooTest.">
<taskdef name="unit" classpathref="test.classpath"
classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>
@@ -270,6 +269,9 @@
</unit>
</target>
<target name="tests" depends="test-colorpos,test-tsbundles,test-cbundles,test-units"
description="Runs all tests."/>
<target name="all" depends="clean,-prepare,compile,-ninstall,tests,javadoc,dist"
description="Cleans and rebuilds everything, including javadocs."/>