components/junit/patches/test-build.xml.patch
author Craig Mohrman <craig.mohrman@oracle.com>
Mon, 27 Jul 2015 16:33:17 -0700
changeset 4700 3e0131debf7c
permissions -rw-r--r--
20217156 junit should have its tests hooked up in the Makefile
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4700
3e0131debf7c 20217156 junit should have its tests hooked up in the Makefile
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     1
Internal patch to get Userland test working.
3e0131debf7c 20217156 junit should have its tests hooked up in the Makefile
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     2
Will not offer upstream.
3e0131debf7c 20217156 junit should have its tests hooked up in the Makefile
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     3
3e0131debf7c 20217156 junit should have its tests hooked up in the Makefile
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     4
3e0131debf7c 20217156 junit should have its tests hooked up in the Makefile
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     5
--- junit-r4.11/build.xml_orig	2015-07-16 13:17:09.182838009 -0700
3e0131debf7c 20217156 junit should have its tests hooked up in the Makefile
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     6
+++ junit-r4.11/build.xml	2015-07-17 13:15:36.944965837 -0700
3e0131debf7c 20217156 junit should have its tests hooked up in the Makefile
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     7
@@ -203,6 +203,13 @@
3e0131debf7c 20217156 junit should have its tests hooked up in the Makefile
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     8
     </sequential>
3e0131debf7c 20217156 junit should have its tests hooked up in the Makefile
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     9
   </macrodef>
3e0131debf7c 20217156 junit should have its tests hooked up in the Makefile
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    10
 
3e0131debf7c 20217156 junit should have its tests hooked up in the Makefile
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    11
+  <!-- copy of target name=dist minus depends -->
3e0131debf7c 20217156 junit should have its tests hooked up in the Makefile
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    12
+  <target name="test-build">
3e0131debf7c 20217156 junit should have its tests hooked up in the Makefile
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    13
+    <run-dist-tests>
3e0131debf7c 20217156 junit should have its tests hooked up in the Makefile
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    14
+      <jvmarg value="-Dignore.this=ignored"/>
3e0131debf7c 20217156 junit should have its tests hooked up in the Makefile
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    15
+    </run-dist-tests>
3e0131debf7c 20217156 junit should have its tests hooked up in the Makefile
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    16
+  </target>
3e0131debf7c 20217156 junit should have its tests hooked up in the Makefile
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    17
+
3e0131debf7c 20217156 junit should have its tests hooked up in the Makefile
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    18
   <target name="test" depends="build">
3e0131debf7c 20217156 junit should have its tests hooked up in the Makefile
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    19
     <run-local-tests />
3e0131debf7c 20217156 junit should have its tests hooked up in the Makefile
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    20
   </target>