JNI for test coverage #3965
This commit is contained in:
parent
136e46dcf2
commit
e996d47ad3
|
@ -93,13 +93,14 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="test" depends="compile, copy_c_sources">
|
<target name="test" depends="compile, copy_c_sources">
|
||||||
<junit fork="no"
|
<junit fork="yes"
|
||||||
maxmemory="512m"
|
maxmemory="512m"
|
||||||
printsummary="yes"
|
printsummary="yes"
|
||||||
haltonfailure="yes">
|
haltonfailure="yes">
|
||||||
|
|
||||||
<jvmarg value="-ea"/>
|
<jvmarg value="-ea"/>
|
||||||
<jvmarg value="-XX:+HeapDumpOnOutOfMemoryError"/>
|
<jvmarg value="-XX:+HeapDumpOnOutOfMemoryError"/>
|
||||||
|
<sysproperty key="java.library.path" value="../unit_tests/build"/>
|
||||||
<formatter type="brief"/>
|
<formatter type="brief"/>
|
||||||
<classpath
|
<classpath
|
||||||
path="build/classes:lib/junit.jar:${lib_list}:lib/commons-logging.jar"/>
|
path="build/classes:lib/junit.jar:${lib_list}:lib/commons-logging.jar"/>
|
||||||
|
@ -144,7 +145,7 @@
|
||||||
</copy>
|
</copy>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jar" depends="compile, copy_c_sources, autoupdate_jar">
|
<target name="jar" depends="compile, native_header, copy_c_sources, autoupdate_jar">
|
||||||
<mkdir dir="build/jar"/>
|
<mkdir dir="build/jar"/>
|
||||||
<delete file="${jar_file}"/>
|
<delete file="${jar_file}"/>
|
||||||
<echo message="Building ${jar_file}"/>
|
<echo message="Building ${jar_file}"/>
|
||||||
|
|
Loading…
Reference in New Issue