summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2014-06-10 13:02:50 +0200
committerJason Zaugg <jzaugg@gmail.com>2014-06-10 13:02:50 +0200
commitcf8902907756cca2c5b8367c898ca0e9698c6521 (patch)
tree4b880aac09cf5cfc5a682ff3cf97ef805db6a9cd /build.xml
parented3df58ab167f660825e675b6b45eb454fc9869b (diff)
parentddb29a8105bc3b692bc129cbd8ed111baae7076d (diff)
downloadscala-cf8902907756cca2c5b8367c898ca0e9698c6521.tar.gz
scala-cf8902907756cca2c5b8367c898ca0e9698c6521.tar.bz2
scala-cf8902907756cca2c5b8367c898ca0e9698c6521.zip
Merge remote-tracking branch 'origin/2.11.x' into merge/2.11.x-to-2.12.x
Diffstat (limited to 'build.xml')
-rwxr-xr-xbuild.xml32
1 files changed, 18 insertions, 14 deletions
diff --git a/build.xml b/build.xml
index 937905636a..6d301e436c 100755
--- a/build.xml
+++ b/build.xml
@@ -1357,20 +1357,24 @@ TODO:
</target>
<target name="test.osgi" depends="test.osgi.comp">
- <stopwatch name="test.osgi.timer"/>
- <mkdir dir="${test.osgi.classes}"/>
-
- <echo message="Running OSGi JUnit tests. Output in ${build-osgi.dir}"/>
- <junit fork="yes" haltonfailure="yes">
- <classpath refid="test.osgi.compiler.build.path"/>
- <batchtest fork="yes" todir="${build-osgi.dir}">
- <fileset dir="${test.osgi.classes}">
- <include name="**/*Test.class"/>
- </fileset>
- </batchtest>
- <formatter type="xml" /> <!-- silenced by having it use a file; I tried for an hour to use other formatters but classpath issues drove me to this usefile="false" -->
- </junit>
- <stopwatch name="test.osgi.timer" action="total"/>
+ <if><isset property="has.java8"/><then>
+ <echo message="Skipping OSGi JUnit tests on Java 8. See SI-8642"/>
+ </then><else>
+ <echo message="Running OSGi JUnit tests. Output in ${build-osgi.dir}"/>
+ <stopwatch name="test.osgi.timer"/>
+ <mkdir dir="${test.osgi.classes}"/>
+
+ <junit fork="yes" haltonfailure="yes">
+ <classpath refid="test.osgi.compiler.build.path"/>
+ <batchtest fork="yes" todir="${build-osgi.dir}">
+ <fileset dir="${test.osgi.classes}">
+ <include name="**/*Test.class"/>
+ </fileset>
+ </batchtest>
+ <formatter type="xml" /> <!-- silenced by having it use a file; I tried for an hour to use other formatters but classpath issues drove me to this usefile="false" -->
+ </junit>
+ <stopwatch name="test.osgi.timer" action="total"/>
+ </else></if>
</target>