diff options
author | Sven Gothel <[email protected]> | 2012-02-24 18:21:46 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-02-24 18:21:46 +0100 |
commit | 49114a63102c745b3db204315ad9525d61767d57 (patch) | |
tree | 9ea40779b07d81e089ea34f6671e5c061ac33ab7 | |
parent | 08525c91032f87eaf21a8b5a9c31bad20385a354 (diff) |
If junit.is.disabled, copy a dummy TEST xml file, otherwisa Jenkins claims failure.
-rw-r--r-- | make/build-test.xml | 5 |
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" /> |