summaryrefslogtreecommitdiff
path: root/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
commitf4748d5773c03b14eebc98ff63e95c5bdd2249f4 (patch)
tree075d326654b4c1ab48ecd9d8b933ca1e8ac90c11 /java/build.xml
parenta4e735d458022e91546128cca4ecc4f32f8e869a (diff)
downloadqpid-python-f4748d5773c03b14eebc98ff63e95c5bdd2249f4.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/qpid@656357 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/build.xml')
-rw-r--r--java/build.xml14
1 files changed, 13 insertions, 1 deletions
diff --git a/java/build.xml b/java/build.xml
index 5a5db734f6..4f5f2fb246 100644
--- a/java/build.xml
+++ b/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">