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:
@@ -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."/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user