Run tests with -Xint to work around weird JIT bug in Java 6, which causes ArithmeticException failure in a few QR code tests

git-svn-id: https://zxing.googlecode.com/svn/trunk@1054 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2009-09-15 09:06:45 +00:00
parent 5b041daad0
commit 3b557e6229

View file

@ -35,7 +35,7 @@
deprecation="true"
fork="true"/>
<jar jarfile="core.jar" basedir="build">
<!-- These entries allow core.jar to function as an OSGi bundle, and also specifices
<!-- These entries allow core.jar to function as an OSGi bundle, and also specifies
additional attributes for compatibility with BugLabs's BUG platform.
Thanks to David Albert for this change. -->
<manifest>
@ -116,6 +116,7 @@
<assertions>
<enable/>
</assertions>
<jvmarg value="-Xint"/> <!-- works around weird JIT bug in Java 6 -->
<batchtest>
<fileset dir="test/src">
<include name="**/${subdir}/*BlackBox*TestCase.java"/>
@ -137,6 +138,7 @@
<assertions>
<enable/>
</assertions>
<jvmarg value="-Xint"/> <!-- works around weird JIT bug in Java 6 -->
<batchtest>
<fileset dir="test/src">
<include name="**/*TestCase.java"/>