summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-03-01 00:38:36 +0100
committerSven Gothel <[email protected]>2011-03-01 00:38:36 +0100
commit40b45c99ad455361f97a9b1f5dd5ba9e1e019aeb (patch)
treec6905d136cb84fec8e0c016682b043351600d59a
parent3747f6a608a79152ddda51d984712e8ce8179f54 (diff)
Add junit.run.awt.singletest target for cmdline verification
-rw-r--r--make/build-test.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/make/build-test.xml b/make/build-test.xml
index 7c80b5f53..f996ba2c1 100644
--- a/make/build-test.xml
+++ b/make/build-test.xml
@@ -309,6 +309,31 @@
</junit>
</target>
+ <target name="junit.run.awt.singletest" depends="test.compile">
+ <!-- Test*AWT* -->
+ <junit forkmode="perTest" showoutput="true" fork="true" haltonerror="off" timeout="${batchtest.timeout}">
+ <env key="${system.env.library.path}" path="${obj.all.paths}"/>
+ <jvmarg value="-Djava.library.path=${obj.all.paths}"/>
+
+ <!--
+ <jvmarg value="-Djogl.debug=all"/>
+ <jvmarg value="-Dgluegen.debug.NativeLibrary=true"/>
+ <jvmarg value="-Dgluegen.debug.ProcAddressHelper=true"/>
+ <jvmarg value="-Djogl.debug.GLSLState"/>
+ <jvmarg value="-Dnativewindow.debug=all"/>
+ <jvmarg value="-verbose:jni"/>
+ <jvmarg value="-client"/>
+ <jvmarg value="-d32"/>
+ -->
+
+ <formatter usefile="false" type="plain"/>
+ <formatter usefile="true" type="xml"/>
+ <classpath refid="junit_jogl_newt_awt.run.classpath"/>
+
+ <test name="${testclass}"/>
+ </junit>
+ </target>
+
<target name="junit.run.swt.headless" depends="test.compile" description="Runs all pure SWT tests.">
<!-- Test*SWT*