summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-05-29 23:56:51 +0200
committerMichael Bien <[email protected]>2010-05-29 23:56:51 +0200
commit0bcc9dd8f36dabfef118f3546a08f7d5666714ef (patch)
tree3e7ff436114939f0edd6aec0b812c95109977768 /build.xml
parent2eb3fda0824284e6e955664af79cd9bf40333d52 (diff)
added test-file target. Run it with e.g: "ant test-file -Dtest.file=com/jogamp/opencl/LowLevelBindingTest.java".
minimum ant version is now 1.8.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 63f17725..73f9c8dc 100644
--- a/build.xml
+++ b/build.xml
@@ -77,7 +77,7 @@
<!--compile build utilities-->
<mkdir dir="${etc.build.dir}"/>
- <javac destdir="${etc.build.dir}" classpath="${ant.core.lib}" source="1.5" debug="true" debuglevel="lines,vars,source">
+ <javac destdir="${etc.build.dir}" classpath="${ant.core.lib}" source="1.5" debug="true" debuglevel="lines,vars,source" includeantruntime="false">
<src path="${basedir}/etc/src"/>
</javac>
@@ -311,4 +311,10 @@
<zip destfile="${dist.javadoc.dir}/../jocl-javadoc.zip" basedir="${dist.javadoc.dir}"/>
</target>
+ <target name="test-file">
+ <property name="javac.includes" value="${test.file}"/>
+ <property name="test.includes" value="${test.file}"/>
+ <antcall target="test-single" inheritall="true"/>
+ </target>
+
</project>