summaryrefslogtreecommitdiff
path: root/qpid/java/build.xml
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2008-05-14 18:50:02 +0000
committerRafael H. Schloming <rhs@apache.org>2008-05-14 18:50:02 +0000
commit81f7b4aaeede6a9eedbba4a7e2c2e2991ec48bd1 (patch)
tree5f99bb6e9148654125bd8437ccf88777b6bc5aa7 /qpid/java/build.xml
parent7ec5ed09424b8b75a907519889dafb609a13676a (diff)
downloadqpid-python-81f7b4aaeede6a9eedbba4a7e2c2e2991ec48bd1.tar.gz
QPID-965: made the ant build report the cummulative success/failure of the test suite
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@656357 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/build.xml')
-rw-r--r--qpid/java/build.xml14
1 files changed, 13 insertions, 1 deletions
diff --git a/qpid/java/build.xml b/qpid/java/build.xml
index 5a5db734f6..4f5f2fb246 100644
--- a/qpid/java/build.xml
+++ b/qpid/java/build.xml
@@ -63,7 +63,19 @@
</target>
<target name="test" description="execute tests">
- <iterate target="test"/>
+
+ <delete file="${build.failed}"/>
+
+ <iterate target="test">
+ <property name="test.failures.ignore" value="true"/>
+ </iterate>
+
+ <condition property="failed">
+ <available file="${build.failed}"/>
+ </condition>
+
+ <fail if="failed" message="TEST SUITE FAILED"/>
+
</target>
<target name="jar" description="create module jars">