summaryrefslogtreecommitdiffstats
path: root/make/build-test.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-12-13 07:57:40 +0100
committerSven Gothel <[email protected]>2010-12-13 07:57:40 +0100
commitc2f6ba872805f25f968697c47962861745330d43 (patch)
tree0be6309c1a5612d856419bc025948b43cd873829 /make/build-test.xml
parentb0c39f3f4259cf6eca8e1f7af0f0924cf7472abe (diff)
Playing audio again
- test: use jar file joal-test.jar - test: use proper getResourceAsStream() on class instance - test: plays sound TODO: - check on windows and osx - add jnlp file template - joal-demos
Diffstat (limited to 'make/build-test.xml')
-rw-r--r--make/build-test.xml13
1 files changed, 10 insertions, 3 deletions
diff --git a/make/build-test.xml b/make/build-test.xml
index e543a1c..beead31 100644
--- a/make/build-test.xml
+++ b/make/build-test.xml
@@ -60,7 +60,7 @@
<property name="java.dir.manual" value="${java.dir.test}/manual"/>
<property name="obj.all.paths" value="${gluegen.root}/build/obj${path.separator}${obj}"/>
- <property name="classpath.all" value="${gluegen.root}/build/gluegen-rt.jar${path.separator}${build}/joal.jar${path.separator}${classes}${path.separator}${junit.path}"/>
+ <property name="classpath.all" value="${gluegen.root}/build/gluegen-rt.jar${path.separator}${build}/joal.jar${path.separator}${build}/joal-test.jar${path.separator}${junit.path}"/>
<property name="batchtest.timeout" value="1800000"/> <!-- 30 min -->
</target>
@@ -71,6 +71,11 @@
<copy todir="${classes}">
<fileset dir="${src.test}" includes="**/*.wav"/>
</copy>
+ <jar destfile="${build}/joal-test.jar">
+ <fileset dir="${classes}">
+ <include name="**" />
+ </fileset>
+ </jar>
</target>
<target name="clean">
@@ -84,9 +89,10 @@
<junit forkmode="once" showoutput="true" fork="true" includeAntRuntime="true">
<env key="${system.env.library.path}" path="${obj.all.paths}"/>
<jvmarg value="-Djava.library.path=${obj.all.paths}"/>
+ <!--
<jvmarg value="-Djogamp.debug.NativeLibrary=true"/>
<jvmarg value="-Djogamp.debug.NativeLibrary.Lookup=true"/>
- <jvmarg value="-Djogamp.debug.ProcAddressHelper=true"/>
+ <jvmarg value="-Djogamp.debug.ProcAddressHelper=true"/> -->
<batchtest todir="${results.test}">
<fileset dir="${classes}">
<include name="${java.dir.junit}/**/*Test*"/>
@@ -129,9 +135,10 @@
<env key="${system.env.library.path}" path="${obj.all.paths}"/>
<env key="CLASSPATH" value="${classpath.all}"/>
<arg value="-Djava.library.path=${obj.all.paths}"/>
+ <!--
<arg line="-Djogamp.debug.NativeLibrary=true"/>
<arg line="-Djogamp.debug.NativeLibrary.Lookup=true"/>
- <arg line="-Djogamp.debug.ProcAddressHelper=true"/>
+ <arg line="-Djogamp.debug.ProcAddressHelper=true"/> -->
<srcfile/>
<mappedresources>
<fileset dir="${classes}" includes="${test.class.path}"/>