diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/build-common.xml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/build/build-common.xml b/build/build-common.xml index e254ab608..5c4090c1f 100644 --- a/build/build-common.xml +++ b/build/build-common.xml @@ -107,18 +107,26 @@ </classpath> <test name="@{suite}"/> </junit> - <!-- TODO AV - using java to invoke JUnit since the junit task is hidding errors - don't know why --> - <!--<java classname="@{suite}" fork="on" dir="../@{project}"> + </sequential> + </macrodef> + + <macrodef name="testrun2"> + <attribute name="project"/> + <attribute name="path"/> + <attribute name="suite"/> + <sequential> + <java classname="@{suite}" fork="on" dir="../@{project}"> <jvmarg line=""/> <classpath> <pathelement path="../@{project}/${build.dir}"/> <pathelement path="../@{project}/${test.build.dir}"/> <path refid="@{path}"/> </classpath> - </java>--> + </java> </sequential> </macrodef> + <target name="all" depends="init, compile, test:compile"/> |