store xml testresults in archdir

This commit is contained in:
Doug MacEachern 2008-07-08 05:40:57 +00:00
parent 8171e6ad20
commit 96839c028a
1 changed files with 4 additions and 4 deletions

View File

@ -328,8 +328,8 @@
<delete dir="${sigar-bin}"/> <delete dir="${sigar-bin}"/>
</target> </target>
<target name="xtest"> <target name="xtest" depends="jni-init">
<mkdir dir="${build}/testresults"/> <mkdir dir="${build}/testresults/${jni.libarch}"/>
<condition property="win32.test" value="win32/test"> <condition property="win32.test" value="win32/test">
<os family="windows"/> <os family="windows"/>
@ -340,9 +340,9 @@
<jvmarg value="-Dsigar.fqdn=${sigar.fqdn}"/> <jvmarg value="-Dsigar.fqdn=${sigar.fqdn}"/>
<classpath refid="alljars"/> <classpath refid="alljars"/>
<formatter type="plain"/> <formatter type="xml"/>
<batchtest fork="yes" todir="${build}/testresults"> <batchtest fork="yes" todir="${build}/testresults/${jni.libarch}">
<fileset dir="${src}"> <fileset dir="${src}">
<include name="org/hyperic/sigar/test/Test*.java"/> <include name="org/hyperic/sigar/test/Test*.java"/>
<include name="org/hyperic/sigar/${win32.test}/Test*.java"/> <include name="org/hyperic/sigar/${win32.test}/Test*.java"/>