only run win32 tests on win32

This commit is contained in:
Doug MacEachern 2004-11-21 01:17:51 +00:00
parent 60865160cf
commit 3461d15b4c
1 changed files with 7 additions and 1 deletions

View File

@ -188,6 +188,10 @@
<target name="xtest"> <target name="xtest">
<mkdir dir="testresults"/> <mkdir dir="testresults"/>
<condition property="win32.test" value="win32/test">
<os family="windows"/>
</condition>
<junit printsummary="yes" fork="yes" <junit printsummary="yes" fork="yes"
haltonfailure="yes" showoutput="true"> haltonfailure="yes" showoutput="true">
<jvmarg value="-Dsigar.fqdn=${sigar.fqdn}"/> <jvmarg value="-Dsigar.fqdn=${sigar.fqdn}"/>
@ -197,7 +201,9 @@
<batchtest fork="yes" todir="testresults"> <batchtest fork="yes" todir="testresults">
<fileset dir="${src}"> <fileset dir="${src}">
<include name="**/Test*.java"/> <include name="net/hyperic/sigar/test/Test*.java"/>
<include name="net/hyperic/sigar/${win32.test}/Test*.java"/>
<exclude name="**/.java"/>
<!-- slow; run by hand with bin/run_tests.sh Threads --> <!-- slow; run by hand with bin/run_tests.sh Threads -->
<exclude name="**/TestThreads*.java"/> <exclude name="**/TestThreads*.java"/>
</fileset> </fileset>