Skip to content

Commit

Permalink
Tell Ant to fail the build if the tests fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
Larry Karnowski committed May 15, 2009
1 parent 6143fdb commit c858d3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.xml
Expand Up @@ -154,8 +154,8 @@
</target>

<target name="test" description="Run the tests">
<java fork="true" jar="rhino/js.jar">
<arg value="test/test.js"/>
<java fork="true" jar="rhino/js.jar" failonerror="true">
<arg value="test/test.js"/>
<jvmarg value="-Dfile.encoding=utf-8"/>
</java>
</target>
Expand Down

0 comments on commit c858d3a

Please sign in to comment.