diff options
author | Michael Bien <[email protected]> | 2010-05-29 23:56:51 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-05-29 23:56:51 +0200 |
commit | 0bcc9dd8f36dabfef118f3546a08f7d5666714ef (patch) | |
tree | 3e7ff436114939f0edd6aec0b812c95109977768 /build.xml | |
parent | 2eb3fda0824284e6e955664af79cd9bf40333d52 (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.xml | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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> |