Added yarp to the post-build analysis
authorDario Sestito <darios@symbian.org>
Wed, 10 Jun 2009 18:22:32 +0100
changeset 140 5254e26c433d
parent 139 7f5b4e3699cb
child 150 15726eb85364
child 196 05a7cfefd85f
Added yarp to the post-build analysis
common/build.xml
--- a/common/build.xml	Thu Jun 04 11:41:08 2009 +0100
+++ b/common/build.xml	Wed Jun 10 18:22:32 2009 +0100
@@ -581,6 +581,26 @@
             <arg value="${sf.common.config.dir}/tools/analysis/find_collisions.pl"/>
             <arg value="${build.log.dir}/analysis/${build.id}_what_results.csv"/>
         </exec>
+        
+    <echo message="Running yarp over *_compile.log files"/>
+    <for param="logfile">
+      <path>
+        <fileset dir="${build.log.dir}">
+          <include name="*_compile.log"/>
+          <exclude name="*build_check_compile.log"/>
+        </fileset>
+      </path>
+      <sequential>
+        <propertyregex override="yes" property="yarpfile"  input="@{logfile}" regexp=".*[\\|\/](.*)_compile\.log" replace="\1_yarp.csv"/>
+        <echo message="Yarping @{logfile}..."/>
+        <exec executable="perl" dir="${build.drive}" failonerror="false" output="${build.log.dir}/analysis/${build.id}_yarp.log" append="true">
+          <arg value="${sf.common.config.dir}/tools/analysis/yarp.pl"/>
+          <arg value="@{logfile}"/>
+          <arg value="${build.log.dir}/analysis/${yarpfile}"/>
+        </exec>
+      </sequential>
+    </for>
+
     </target>
   
 </project>