aboutsummaryrefslogtreecommitdiffstats
path: root/make/build-test.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-02-24 18:21:46 +0100
committerSven Gothel <[email protected]>2012-02-24 18:21:46 +0100
commit49114a63102c745b3db204315ad9525d61767d57 (patch)
tree9ea40779b07d81e089ea34f6671e5c061ac33ab7 /make/build-test.xml
parent08525c91032f87eaf21a8b5a9c31bad20385a354 (diff)
If junit.is.disabled, copy a dummy TEST xml file, otherwisa Jenkins claims failure.
Diffstat (limited to 'make/build-test.xml')
-rw-r--r--make/build-test.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/make/build-test.xml b/make/build-test.xml
index 2cb3a8907..d636eb77d 100644
--- a/make/build-test.xml
+++ b/make/build-test.xml
@@ -664,8 +664,11 @@ ${line.separator}
<target name="junit.run.if.enabled" unless="junit.is.disabled">
<antcall target="junit.run.tests" inheritRefs="true" inheritAll="true"/>
</target>
+ <target name="junit.run.if.disabled" if="junit.is.disabled">
+ <copy todir="${results.test}" file="${gluegen.root}/make/lib/TEST-com.jogamp.junit.DisabledTest.xml"/>
+ </target>
- <target name="junit.run" depends="junit.run.settings, junit.run.if.enabled">
+ <target name="junit.run" depends="junit.run.settings, junit.run.if.enabled, junit.run.if.disabled">
<mkdir dir="${results.test}" />
<move todir="${results.test}">
<fileset dir="." includes="*.tga" />