More ant tweaks, this time to speed dev and jni tests by not attempting to test the OS'es we're not on.

Review by: rjrjr

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@5717 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/build.xml b/dev/build.xml
index 5f610fe..dde2ebb 100755
--- a/dev/build.xml
+++ b/dev/build.xml
@@ -3,6 +3,13 @@
   <property name="project.tail" value="dev" />
   <import file="${gwt.root}/platforms.ant.xml" />
 
+
+  <target name="test" description="Tests this project, but only on this platform">
+    <gwt.ant dir="core" target="test"/>
+    <gwt.ant dir="oophm" target="test"/>
+    <gwt.ant dir="${build.host.platform}" target="test"/>
+  </target>
+
   <target name="clean" description="Cleans this project's intermediate and output files">
     <delete dir="${project.build}" failonerror="false" />
     <delete failonerror="false">
diff --git a/jni/build.xml b/jni/build.xml
index 1f08cdf..04b1d62 100755
--- a/jni/build.xml
+++ b/jni/build.xml
@@ -2,4 +2,9 @@
   <property name="gwt.root" location=".." />
   <property name="project.tail" value="jni" />
   <import file="${gwt.root}/platforms.ant.xml" />
+
+  <target name="test" description="Tests this project, but only on this platform">
+    <gwt.ant dir="core" target="test"/>
+    <gwt.ant dir="${build.host.platform}" target="test"/>
+  </target>  
 </project>