LUCENE-900: enable Java assertions in "ant test".

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@543551 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Doron Cohen 2007-06-01 17:44:49 +00:00
parent 1b10884cea
commit 6aa6ee4763
2 changed files with 6 additions and 0 deletions

View File

@ -245,6 +245,9 @@ Build
"ant test-core" target can be used to run only the Core (non
contrib) tests.
(Chris Hostetter)
3. LUCENE-900: "ant test" now enables Java assertions (in Luecene packages).
(Doron Cohen)
======================= Release 2.1.0 2007-02-14 =======================

View File

@ -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"/>