JNI for test coverage #3965

This commit is contained in:
rusefillc 2022-02-28 23:39:01 -05:00
parent 136e46dcf2
commit e996d47ad3
1 changed files with 3 additions and 2 deletions

View File

@ -93,13 +93,14 @@
</target>
<target name="test" depends="compile, copy_c_sources">
<junit fork="no"
<junit fork="yes"
maxmemory="512m"
printsummary="yes"
haltonfailure="yes">
<jvmarg value="-ea"/>
<jvmarg value="-XX:+HeapDumpOnOutOfMemoryError"/>
<sysproperty key="java.library.path" value="../unit_tests/build"/>
<formatter type="brief"/>
<classpath
path="build/classes:lib/junit.jar:${lib_list}:lib/commons-logging.jar"/>
@ -144,7 +145,7 @@
</copy>
</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"/>
<delete file="${jar_file}"/>
<echo message="Building ${jar_file}"/>