summaryrefslogtreecommitdiffstats
path: root/unit_tests/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'unit_tests/build.xml')
-rw-r--r--unit_tests/build.xml16
1 files changed, 14 insertions, 2 deletions
diff --git a/unit_tests/build.xml b/unit_tests/build.xml
index e6d8e36..fafdf5b 100644
--- a/unit_tests/build.xml
+++ b/unit_tests/build.xml
@@ -40,7 +40,7 @@
</target>
<target name="compile" depends="init">
- <javac srcdir="./src" classpath="../classes" destdir="classes"/>
+ <javac debug="true" srcdir="./src" classpath="../classes" destdir="classes"/>
</target>
<target name="clean">
@@ -57,6 +57,18 @@
<jvmarg value="-Djava.library.path=${basedir}/../lib"/>
</java>
</target>
+
+ <target name="runALTest" depends="compile">
+ <java classname="junit.textui.TestRunner" fork="true">
+ <classpath>
+ <pathelement location="../lib/joal.jar"/>
+ <pathelement location="lib/junit.jar"/>
+ <pathelement location="classes"/>
+ </classpath>
+ <jvmarg value="-Djava.library.path=${basedir}/../lib"/>
+ <arg value="net.java.games.joal.ALTest" />
+ </java>
+ </target>
<target name="runSound3DTest" depends="compile">
<java classname="Sound3DTest" fork="true">
@@ -68,4 +80,4 @@
<jvmarg value="-Djava.library.path=${basedir}/../lib"/>
</java>
</target>
-</project> \ No newline at end of file
+</project>