Apache Lucene open-source search software
LUCENE-900: enable Java assertions in "ant test".
Doron Cohen6aa6ee4763b8
diff --git a/CHANGES.txt b/CHANGES.txtindex dab3a7213b8..e769cbc2ae5 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -245,6 +245,9 @@ Build"ant test-core" target can be used to run only the Core (noncontrib) tests.(Chris Hostetter)++ 3. LUCENE-900: "ant test" now enables Java assertions (in Luecene packages).+ (Doron Cohen)======================= Release 2.1.0 2007-02-14 =======================diff --git a/common-build.xml b/common-build.xmlindex 87898566954..ff35dab6009 100644--- a/common-build.xml+++ b/common-build.xml@@ -192,6 +192,9 @@<junit printsummary="off" haltonfailure="no"errorProperty="tests.failed" failureProperty="tests.failed"><classpath refid="junit.classpath"/>+ <assertions>+ <enable package="org.apache.lucene"/>+ </assertions><!-- TODO: create propertyset for test properties, so each project can have its own set --><sysproperty key="dataDir" file="src/test"/><sysproperty key="tempDir" file="${build.dir}/test"/>