Author: nextgens
Date: 2008-07-17 22:05:09 +0000 (Thu, 17 Jul 2008)
New Revision: 21195

Modified:
   trunk/freenet/build.xml
Log:
build.xml: add a property to skip unit testing

Modified: trunk/freenet/build.xml
===================================================================
--- trunk/freenet/build.xml     2008-07-17 21:57:50 UTC (rev 21194)
+++ trunk/freenet/build.xml     2008-07-17 22:05:09 UTC (rev 21195)
@@ -127,7 +127,7 @@

        <!-- ================================================== -->

-       <target name="unit-build" depends="compile" if="junit.present">
+       <target name="unit-build" depends="compile" if="junit.present" 
unless="skip_tests">
                <javac srcdir="${test}" destdir="${build-test}" debug="on" 
optimize="on" source="1.5">
                        <classpath>
                                <pathelement path="${build}"/>
@@ -139,7 +139,7 @@
                </javac>
        </target>

-       <target name="unit" depends="unit-build" if="junit.present">
+       <target name="unit" depends="unit-build" if="junit.present" 
unless="skip_tests">
                <junit printsummary="yes" fork="yes" haltonfailure="yes">
                        <classpath>
                                <pathelement path="${build}"/>


Reply via email to