sigar.jar version needs ANT_OPTS too

This commit is contained in:
Doug MacEachern 2008-08-11 01:33:08 +00:00
parent efcc9971c3
commit 84e88b24e1
1 changed files with 14 additions and 13 deletions

View File

@ -356,19 +356,6 @@
</target>
<target name="xtest" depends="jni-init">
<property name="testresults"
location="${build}/testresults/${jni.libarch}"/>
<mkdir dir="${testresults}"/>
<!-- test/capture sigar.jar version -->
<java fork="yes" failonerror="yes"
output="${testresults}/version.txt"
jvm="${java.home}/bin/java"
jar="${sigar-bin}/lib/${sigar.jar}">
<arg value="version"/>
</java>
<condition property="win32.test" value="win32/test">
<os family="windows"/>
</condition>
@ -382,6 +369,20 @@
</not>
</condition>
<property name="testresults"
location="${build}/testresults/${jni.libarch}"/>
<mkdir dir="${testresults}"/>
<!-- test/capture sigar.jar version -->
<java fork="yes" failonerror="yes"
output="${testresults}/version.txt"
jvm="${java.home}/bin/java"
jvmargs="${junit.args}"
jar="${sigar-bin}/lib/${sigar.jar}">
<arg value="version"/>
</java>
<junit printsummary="yes" fork="yes"
haltonfailure="yes" showoutput="true">
<jvmarg line="${junit.args}"/>