From a6f19a1318805c38e1e528e2497a3398a16f18d1 Mon Sep 17 00:00:00 2001
From: al_xipe <al_xipe@localhost>
Date: Tue, 13 Mar 2007 14:12:13 +0000
Subject: [PATCH] added fail in ant to report when the functional tests could not be run
---
opendj-sdk/opends/tests/functional-tests/staf-installer.xml | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/opendj-sdk/opends/tests/functional-tests/staf-installer.xml b/opendj-sdk/opends/tests/functional-tests/staf-installer.xml
index 1e92507..10fc9ed 100644
--- a/opendj-sdk/opends/tests/functional-tests/staf-installer.xml
+++ b/opendj-sdk/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"
--
Gitblit v1.10.0