summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--unit_tests/.cvsignore1
-rw-r--r--unit_tests/build.xml16
2 files changed, 15 insertions, 2 deletions
diff --git a/unit_tests/.cvsignore b/unit_tests/.cvsignore
new file mode 100644
index 0000000..90b07e9
--- /dev/null
+++ b/unit_tests/.cvsignore
@@ -0,0 +1 @@
+classes
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>