fix junit.args

This commit is contained in:
Doug MacEachern 2008-07-14 00:08:38 +00:00
parent 0fcaf19bb9
commit 4fd928a3db
1 changed files with 9 additions and 8 deletions

View File

@ -31,14 +31,6 @@
<isset property="versioned"/> <isset property="versioned"/>
</not> </not>
</condition> </condition>
<condition property="junit.args" value="${env.ANT_OPTS}">
<isset property="${env.ANT_OPTS}"/>
</condition>
<condition property="junit.args" value="">
<not>
<isset property="junit.args"/>
</not>
</condition>
<property name="jni.libversion" value="${file.version}"/> <property name="jni.libversion" value="${file.version}"/>
<property name="sigar.jar" value="sigar${file.version}.jar"/> <property name="sigar.jar" value="sigar${file.version}.jar"/>
@ -343,6 +335,15 @@
<os family="windows"/> <os family="windows"/>
</condition> </condition>
<condition property="junit.args" value="${env.ANT_OPTS}">
<isset property="env.ANT_OPTS"/>
</condition>
<condition property="junit.args" value="">
<not>
<isset property="junit.args"/>
</not>
</condition>
<junit printsummary="yes" fork="yes" <junit printsummary="yes" fork="yes"
haltonfailure="yes" showoutput="true"> haltonfailure="yes" showoutput="true">
<jvmarg line="${junit.args}"/> <jvmarg line="${junit.args}"/>