From 472278819ee0d4eb4d50f4f891db651473e62db5 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 04 Dec 2009 12:16:08 +0000
Subject: [PATCH] Remove testall targets since the SDK should not contain slow unit tests and should always run all tests.
---
opendj-sdk/sdk/build.xml | 32 +-------------------------------
1 files changed, 1 insertions(+), 31 deletions(-)
diff --git a/opendj-sdk/sdk/build.xml b/opendj-sdk/sdk/build.xml
index 255b5f6..ae856c8 100755
--- a/opendj-sdk/sdk/build.xml
+++ b/opendj-sdk/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}">
--
Gitblit v1.10.0