mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
04.16.2009 72e8f493010fafb2ec6c931b484aaf383dd46d55
Remove testall targets since the SDK should not contain slow unit tests and should always run all tests.
1 files modified
32 ■■■■■ changed files
sdk/build.xml 32 ●●●●● patch | view | raw | blame | history
sdk/build.xml
@@ -111,7 +111,7 @@
    <!-- The build target that should be used to build everything. -->
    <target name="all"
            depends="checkstyle,clean,checkprecommit,srczip,javadoc,testallwithcoverage"
            depends="checkstyle,clean,checkprecommit,srczip,javadoc,testwithcoverage"
            description="Build using all defined targets.">
    </target>
@@ -803,17 +803,6 @@
    <!-- Execute the OpenDS LDAP SDK TestNG unit tests in text mode. -->
    <target name="enableTestNGAssertions">
        <property name="TESTASSERT" value="true" />
    </target>
    <!-- Execute all of the OpenDS LDAP SDK TestNG unit tests in text mode. -->
    <target name="testall"
            depends="enableTestNGAssertions,prepdefaultalltest,testinit,runtests"
            description="Run all of the TestNG tests (including 'slow' ones) with assertions enabled.  See 'testwithcoverage' for properties you can set.">
    </target>
    <!-- Execute the OpenDS LDAP SDK TestNG unit tests in text mode. -->
    <target name="test"
            depends="testinit,runtests"
            description="Execute the OpenDS LDAP SDK TestNG unit tests in text mode.  Set '-Dorg.opends.test.suppressOutput=false' to see the output from the unit tests.  Set '-Dtest.failures=true' to run only the tests that failed previously.">
@@ -825,12 +814,6 @@
            description="Execute the OpenDS LDAP SDK TestNG unit tests in text mode with a coverage report.  Use -Dtest.packages, -Dtest.classes, or -Dtest.methods to control which unit tests are run.  Use -Dtest.diff.srcpath to control which src files show up in the coverage diff.  See the 'test' package for other properties you can set.">
    </target>
    <!-- Execute the OpenDS LDAP SDK TestNG unit tests in text mode with a coverage report and slow tests. -->
    <target name="testallwithcoverage"
            depends="coverage,testall,coveragediff"
            description="The same as 'testwithcoverage' except 'testall' is run instead of 'test'.">
    </target>
    <target name="testhelp" unless="disable.test.help">
        <echo message="About to run the unit tests.  Ant options to control the tests:" />
        <echo message="" />
@@ -1108,19 +1091,6 @@
    </target>
    <target name="prepdefaultalltest">
        <condition property="test.groups" value="">
            <not>
                <or>
                    <isset property="test.groups" />
                    <isset property="test.packages" />
                    <isset property="test.classes" />
                    <isset property="test.methods" />
                </or>
            </not>
        </condition>
    </target>
    <target name="testreport" depends="test">
        <junitreport todir="${unittest.report.dir}">
            <fileset dir="${unittest.report.dir}">