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

neil_a_wilson
11.27.2006 f7e045a0eaf1f28a30d8e79a251ba45806f71133
Update the build.xml ant script so that it is possible to run unit tests with
assertions by setting the TESTASSERT property to "true", like:

./build.sh test -DTESTASSERT=true
1 files modified
8 ■■■■ changed files
opendj-sdk/opends/build.xml 8 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/build.xml
@@ -601,8 +601,14 @@
      </classpath>
    </taskdef>
    <condition property="TESTASSERT" value="false">
      <not>
        <isset property="TESTASSERT" />
      </not>
    </condition>
    <testng outputdir="${unittest.report.dir}" haltonfailure="true"
            enableAssert="false">
            enableAssert="${TESTASSERT}">
      <classpath>
        <pathelement location="${coverage.instr.dir}" />
        <pathelement location="${classes.dir}" />