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

al_xipe
13.12.2007 31315772923be99646345be35946bbcbe6f83829
added fail in ant to report when the functional tests could not be run
1 files modified
3 ■■■■ changed files
opends/tests/functional-tests/staf-installer.xml 3 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/staf-installer.xml
@@ -343,7 +343,7 @@
  </target>
  <target name="run-tests-check" depends="run-tests-build-pkg">
    <condition property="opends.port.ldap.taken">
    <condition property="opends.port.ldap.taken">run
      <socket port="${opends.port.ldap}" server="${host.name}"/>
    </condition>
    <condition property="opends.port.ldaps.taken">
@@ -430,6 +430,7 @@
          depends="run-tests-cant-ldap,run-tests-cant-ldaps,run-tests-cant-jmx,run-tests-cant-staf,run-tests-cant-package"
          unless="run-tests.proceed">
    <echo>Could not run the tests for the afore mentioned reasons</echo>
    <fail message="Could not run the functional tests"/>
  </target>
  <target name="run-tests"
    depends="status-do,run-tests-check,run-tests-cant,run-tests-prepare"