Commit ce6d6620 authored by Andrew Twyman's avatar Andrew Twyman Committed by Jacob Potter

Fail Java test on errors

failonerror defaults to false on exec and java rules in ant.
parent 3737f461
<?xml version="1.0"?>
<project name="Djinni-test" default="test">
<target name="test" description="blah">
<exec executable="make">
<exec executable="make" failonerror="true">
<arg value="-j12"/>
<arg value="libDjinniTestNative.dylib"/>
</exec>
......@@ -11,7 +11,7 @@
<src path="../generated-src"/>
<src path="../handwritten-src"/>
</javac>
<java classname="org.junit.runner.JUnitCore" fork="true">
<java classname="org.junit.runner.JUnitCore" fork="true" failonerror="true">
<classpath path="hamcrest-core-1.3.jar:junit-4.11.jar:classes"/>
<jvmarg value="-Xcheck:jni"/>
<arg value="com.dropbox.djinni.test.AllTests"/>
......@@ -19,7 +19,7 @@
</target>
<target name="clean">
<delete dir="classes"/>
<exec executable="make">
<exec executable="make" failonerror="true">
<arg value="clean"/>
</exec>
</target>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment