aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-03-25 04:41:27 +0100
committerMichael Bien <[email protected]>2010-03-25 04:41:27 +0100
commit11d516d6be0fff6ac68e0fa7ce30a85d6820a283 (patch)
treeb5614f6993d49fadd80216cc5cdf3442aeb1eb99
parentdef4bf0d2f6ff9bf77418d26807bdcb187a3b033 (diff)
modified junit.run target to write junit test results to file (->ready for hudson).
-rw-r--r--make/build-jogl.xml15
1 files changed, 9 insertions, 6 deletions
diff --git a/make/build-jogl.xml b/make/build-jogl.xml
index ba92540b8..57f9d1e26 100644
--- a/make/build-jogl.xml
+++ b/make/build-jogl.xml
@@ -2102,14 +2102,17 @@
<isset property="isWindows"/>
</condition>
- <!-- Perform the junit pass Java compile -->
- <java fork="true"
- classname="org.junit.runner.JUnitCore"
- failonerror="true">
+ <!-- Perform the junit tests-->
+ <mkdir dir="${build}/results"/>
+ <junit forkmode="once" showoutput="true" fork="true" haltonerror="true">
<env key="${system.env.library.path}" path="${all.so.dir}"/>
- <arg value="com.jogamp.opengl.test.junit.texture.awt.Texture1"/>
+ <formatter usefile="false" type="plain"/>
+ <formatter usefile="true" type="xml"/>
<classpath refid="jogl_junit.run.classpath"/>
- </java>
+
+ <test name="com.jogamp.opengl.test.junit.texture.awt.Texture1" todir="${build}/results"/>
+
+ </junit>
</target>
<!-- ================================================================== -->