summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorJean-Marie Henaff <jmhenaff@google.com>2015-02-17 17:24:48 +0100
committerJean-Marie Henaff <jmhenaff@google.com>2015-02-17 17:28:51 +0100
commitf92b40d4563830d4b26593a17eae961c02b6f6b7 (patch)
tree1a1835ba4c05416c004afe9dd449ae2efc0e0043 /build.xml
parent2bd5b52152652898af6179a03dce479904917758 (diff)
downloadtoolchain_jack-f92b40d4563830d4b26593a17eae961c02b6f6b7.tar.gz
toolchain_jack-f92b40d4563830d4b26593a17eae961c02b6f6b7.tar.bz2
toolchain_jack-f92b40d4563830d4b26593a17eae961c02b6f6b7.zip
Ensure all junit failures are caught by Ant script
Only errors were caught, failureproperty attribute catches both errors and failures. Bug: 19405868 Change-Id: I1e96f809f38146192a99a05e9c193753ec9cdab3
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/build.xml b/build.xml
index c231943e..7500ff65 100644
--- a/build.xml
+++ b/build.xml
@@ -1220,7 +1220,7 @@
<target name="test-jack" depends="jack-tests">
<mkdir dir="${test-jack.output.dir}/PreSubmitTests/html"/>
- <junit fork="yes" errorproperty="test-jack.failure">
+ <junit fork="yes" failureproperty="test-jack.failure">
<formatter type="xml"/>
<jvmarg value="-Dtests.config=${tests.config}"/>
<jvmarg value="-ea"/>
@@ -1242,7 +1242,7 @@
<target name="test-jack-long" depends="jack-tests">
<mkdir dir="${test-jack.output.dir}/LongLastingTests/html"/>
- <junit fork="yes" errorproperty="test-jack.failure">
+ <junit fork="yes" failureproperty="test-jack.failure">
<formatter type="xml"/>
<jvmarg value="-Dtests.config=${tests.config}"/>
<jvmarg value="-ea"/>
@@ -1264,7 +1264,7 @@
<target name="test-jack-all" depends="jack-tests">
<mkdir dir="${test-jack.output.dir}/AllTests/html"/>
- <junit fork="yes" errorproperty="test-jack.failure">
+ <junit fork="yes" failureproperty="test-jack.failure">
<formatter type="xml"/>
<jvmarg value="-Dtests.config=${tests.config}"/>
<jvmarg value="-ea"/>
@@ -1287,7 +1287,7 @@
<target name="test-sched" depends="junit4,schedtests-lib,sched-lib,guava-lib,
freemarker-lib,maths-lib">
<mkdir dir="${test-jack.output.dir}/Sched/html"/>
- <junit fork="yes" errorproperty="test-jack.failure">
+ <junit fork="yes" failureproperty="test-jack.failure">
<jvmarg value="-ea"/>
<formatter type="xml"/>
<classpath>