buildframework/helium/tools/testing/eunit/eunit.ant.xml
changeset 307 22ecbfc20eb4
parent 217 0f5e3a7fb6af
child 628 7c4a911dc066
--- a/buildframework/helium/tools/testing/eunit/eunit.ant.xml	Wed Feb 17 16:10:19 2010 +0000
+++ b/buildframework/helium/tools/testing/eunit/eunit.ant.xml	Fri Mar 05 14:30:49 2010 +0000
@@ -20,10 +20,32 @@
 
 ============================================================================
 -->
+<!--* @package testing -->
 <project name="_testing.eunit">
     <description>
         Testing using EUnit. (For WINSCW)
     </description>
+    
+    <!--* @property eunit.prepare.zip
+    Name of eunit zip file. Need to unzip into build area to start eunit test
+    @type string
+    @editable required
+    @scope public
+    -->
+    
+    <!--* @property eunit.prepare.zip
+    Name of eunit zip file. Need to unzip into build area to start eunit test
+    @type string
+    @editable required
+    @scope public
+    -->
+    
+    <!--* @property eunitexerunner.flags
+    Flags for EUnit exerunner can be set by setting the value of this variable. The default flags are set to "/E S60AppEnv /R Off".
+    @type string
+    @editable required
+    @scope public
+    -->
 
     <!-- Unzip test package to build drive. -->
     <target name="prepare-eunit" if="enabled.ats">
@@ -32,6 +54,7 @@
 
     <!-- Runs eunittests for Java code -->
     <target name="eunittest" depends="prepare-eunit">
+        <mkdir dir="${test.log.dir}"/>
         <for list="${eunit.dlls}" delimiter="," param="eunit.dll">
             <sequential>
                 <exec executable="${build.drive}/epoc32/release/winscw/udeb/EUnitExeRunner.exe" dir="${build.drive}/epoc32/release/winscw/udeb" failonerror="${failonerror}">
@@ -39,7 +62,7 @@
                 </exec>
             </sequential>
         </for>
-        <copy file="${build.drive}\epoc32\winscw\c\shared\Eunit\logs\Eunit_Log.xml" tofile="${build.log.dir}\${build.id}_Eunit_Log.xml" />
+        <copy file="${build.drive}\epoc32\winscw\c\shared\Eunit\logs\Eunit_Log.xml" tofile="${temp.build.dir}\${build.id}_Eunit_Log.xml" />
     </target>
 
 </project>