minor update
[debian/openrocket] / build.xml
index 94676a627be00d13daf5843372a55217cbba9013..58155ea3c03d3c715802230e5b92292619d59113 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -36,6 +36,7 @@
                <pathelement location="${basedir}"/>
                <pathelement location="${build-test.dir}"/>
                <pathelement location="${classes.dir}"/>
+               <pathelement location="${src-test.dir}"/>
 <!--           <pathelement location="${ant.library.dir}/junit4.jar"/> -->
                <pathelement location="lib-test/junit-4.7.jar"/>
        </path>
        <target name="check" depends="checktodo,checkascii"/>
        
        <!-- CHECK TODOs -->
+       <target name="todo" depends="checktodo"/>
        <target name="checktodo">
                <tempfile property="todo.file" prefix="checktodo-"/>
                <echo>Checking project for critical TODOs.</echo>
@@ -155,6 +157,7 @@ ${criticaltodos}</fail>
        
        
        <!-- CHECK TODOs -->
+       <target name="ascii" depends="checkascii"/>
        <target name="checkascii">
                <tempfile property="ascii.file" prefix="checkascii-"/>
                <echo>Checking project for non-ASCII characters.</echo>
@@ -187,14 +190,15 @@ ${nonascii}</fail>
                
                <echo>Running unit tests</echo>
                <mkdir dir="tmp/rawtestoutput"/>
-               <junit fork="yes" forkmode="once" printsummary="true" failureproperty="junit.failure">
+               <junit fork="yes" forkmode="once" printsummary="false" failureproperty="junit.failure">
                        <classpath>
                                <path refid="test-classpath"/>
                                <path location="${basedir}"/>
                        </classpath>
                        <batchtest todir="tmp/rawtestoutput">
                                <fileset dir="${build-test.dir}">
-                                       <include name="**/*Test*.class" />
+                                       <include name="**/Test*.class" />
+                                       <include name="**/*Test.class" />
                                        <exclude name="**/*$*.class" />
                                        <exclude name="Test.class" />
                                </fileset>