diff options
author | Michael Bien <[email protected]> | 2010-02-12 20:35:34 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-02-12 20:35:34 +0100 |
commit | eca540f632a80aa002d1c4304d73eaf4513ab27e (patch) | |
tree | 99c7f56a7808eadd3e3b21f827aaaaf0f9d2b483 /make | |
parent | 3f1bda99f1e4aec19c1c71de5324814bfc1c2eaa (diff) |
junit test code cleanup and some build preperations for hudson.
Diffstat (limited to 'make')
-rwxr-xr-x | make/build.xml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/make/build.xml b/make/build.xml index fdcdbb0..c7d3157 100755 --- a/make/build.xml +++ b/make/build.xml @@ -571,24 +571,24 @@ </target> <target name="test"> - <mkdir dir="${basedir}/../build/test/build/classes"/> - <mkdir dir="${basedir}/../build/test/results"/> + <mkdir dir="${gluegen.root}/build/test/build/classes"/> + <mkdir dir="${gluegen.root}/build/test/results"/> - <javac destdir="${basedir}/../build/test/build/classes" failonerror="false" source="1.5" srcdir="${basedir}/../test/junit" debug="true" debuglevel="lines,vars,source"> - <classpath path="${basedir}/../make/lib/junit-4.5.jar:${basedir}/../build/classes:${basedir}/../build/test/gensrc/java:${jdk.home}/lib/tools.jar:${ant.core.lib}"/> + <javac destdir="${gluegen.root}/build/test/build/classes" failonerror="false" source="1.5" srcdir="${gluegen.root}/test/junit" debug="true" debuglevel="lines,vars,source"> + <classpath path="${gluegen.root}/make/lib/junit-4.5.jar:${gluegen.root}/build/classes:${gluegen.root}/build/test/gensrc/java:${jdk.home}/lib/tools.jar:${ant.core.lib}"/> </javac> <junit forkmode="once" showoutput="true" fork="true"> - <jvmarg value="-Djava.library.path=${basedir}/../build/test/build/natives"/> - <batchtest todir="${basedir}/../build/test/results"> - <fileset dir="${basedir}/../build/test/build/classes"> - <include name="com/sun/gluegen/**"/> + <jvmarg value="-Djava.library.path=${gluegen.root}/build/test/build/natives"/> + <batchtest todir="${gluegen.root}/build/test/results"> + <fileset dir="${gluegen.root}/build/test/build/classes"> + <include name="com/sun/gluegen/**Test*"/> </fileset> <formatter usefile="false" type="brief"/> <formatter usefile="true" type="xml"/> </batchtest> <classpath> - <path path="${basedir}/../build/test/build/classes:${basedir}/../build/test/gensrc/java:${basedir}/../build/classes:${basedir}/../lib/antlr-3.2.jar:${basedir}/../make/lib/junit-4.5.jar:${jdk.home}/lib/tools.jar:${ant.core.lib}"/> + <path path="${gluegen.root}/build/test/build/classes:${gluegen.root}/build/test/gensrc/java:${gluegen.root}/build/classes:${gluegen.root}/lib/antlr-3.2.jar:${gluegen.root}/make/lib/junit-4.5.jar:${jdk.home}/lib/tools.jar:${ant.core.lib}"/> </classpath> </junit> </target> |