diff options
author | Sven Gothel <[email protected]> | 2010-04-10 01:12:57 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-04-10 01:12:57 +0200 |
commit | 5d2fd3da2541e9ddfdad6cdbba9d251fd305bfd7 (patch) | |
tree | e7f9ac09d049eab3bd3c738d3fb48fc1dad71626 /make/build-junit.xml | |
parent | 31504e67e5f38d07d442ee02aef456de71a2fa90 (diff) |
*** Now Using Apache-Ant-1.8.0 ***
Adding ant-contrib-1.0b3.jar for loops and mutable properties.
Cleanup:
- Adding Javac includeAntRuntime argument (false whenever possible)
- Clear junit results folder before testing
- Move deprecated stuff from lib to lib/archive
Diffstat (limited to 'make/build-junit.xml')
-rw-r--r-- | make/build-junit.xml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/make/build-junit.xml b/make/build-junit.xml index 2da5997..e401128 100644 --- a/make/build-junit.xml +++ b/make/build-junit.xml @@ -103,6 +103,7 @@ <javac destdir="${build_t.java}" source="1.5" debug="true" fork="yes" + includeAntRuntime="false" debuglevel="lines,vars,source"> <classpath refid="junit.compile.classpath"/> <src path="${test.base.dir}"/> @@ -176,13 +177,16 @@ <target name="junit.compile" depends="init, java.generate, java.build, native.build"/> <target name="junit.run" depends="init,gluegen.cpptasks.detect.os"> + <mkdir dir="${results}"/> + <delete quiet="true"> + <fileset dir="${results}" includes="**"/> + </delete> + <!-- Use absolute path --> <property name="gluegen.lib.abs" location="${gluegen.lib}" /> <property name="build_t.lib.abs" location="${build_t.lib}" /> - <!-- Perform the junit tests--> - <mkdir dir="${results}"/> <junit forkmode="once" showoutput="true" fork="true"> <env key="${system.env.library.path}" path="${gluegen.lib.abs}${path.separator}${build_t.lib.abs}"/> <jvmarg value="-Djava.library.path=${gluegen.lib.abs}${path.separator}${build_t.lib.abs}"/> |