summaryrefslogtreecommitdiffstats
path: root/unit_tests/build.xml
diff options
context:
space:
mode:
authorsugarshark <[email protected]>2003-08-18 23:57:08 +0000
committersugarshark <[email protected]>2003-08-18 23:57:08 +0000
commit7eed4a3df684588b6edcd2dd1e6222f7a1731b77 (patch)
tree06282353cbd2149249b1718dd7efb450d132ed24 /unit_tests/build.xml
parentc542c96eaaaa57d6c4d579c12aaa6c9602cc885e (diff)
* .cvsignore: new file
* build.xml (runALTest): added target CVS: ---------------------------------------------------------------------- CVS: Issue number: CVS: If this change addresses one or more issues, CVS: then enter the issue number(s) here. CVS: Obtained from: CVS: If this change has been taken from another system, CVS: then name the system in this line, otherwise delete it. CVS: Submitted by: CVS: If this code has been contributed to the project by someone else; i.e., CVS: they sent us a patch or a set of diffs, then include their name/email CVS: address here. If this is your work then delete this line. CVS: Reviewed by: CVS: If we are doing pre-commit code reviews and someone else has CVS: reviewed your changes, include their name(s) here. CVS: If you have not had it reviewed then delete this line. git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@49 03bf7f67-59de-4072-a415-9a990d468a3f
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>