Setting the failure code of ant tests to 2 instead of 1 so we can differentiate a test failures from build failures.
Patch by: jlabanca
Review by: fabbott
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@7356 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/common.ant.xml b/common.ant.xml
index 5d16ba0..7ed01be 100755
--- a/common.ant.xml
+++ b/common.ant.xml
@@ -241,7 +241,7 @@
</condition>
<fail
message="One or more junit tests failed for target: @{test.name} @{test.args}"
- if="junit.stop.build" />
+ if="junit.stop.build" status="2" />
</sequential>
</macrodef>