diff -r 7685cec9fd3c -r f2ddfa555b0f doc/api/helium/target-sf-run-analysis-raptor.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/api/helium/target-sf-run-analysis-raptor.html Fri Sep 11 11:54:49 2009 +0100 @@ -0,0 +1,307 @@ + + + + + + +
+ + + + + + + + + +
+
+
|
++Helium API + + | +||||||
+ prev + next | ++ frames + no frames + + + + + + | +
Location
+D:\maintools\sf-config\common\build.postbuild.xml:294: +
+ +Conditional execution
+No conditions on target execution.
++
+ ++
Name | +
---|
perl | +
perl | +
perl | +
perl | +
perl | +
+
Name | Edit status | +
---|---|
User editable properties | +|
Internal properties | +|
build.id | discouraged | +
build.log.dir | discouraged | +
+ + +
++ <target name="sf-run-analysis-raptor"> + <echo message="Preprocessing *_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="preprocessedlogfile" input="@{logfile}" regexp=".*[\\/](.*)_compile\.log" replace="\1_compile_preprocessed.log"/> + <echo message="Preprocessing @{logfile}..."/> + <exec executable="perl" dir="${sf.common.config.dir}/tools/raptor" failonerror="false" input="@{logfile}" output="${build.log.dir}/analysis/${preprocessedlogfile}" error="${build.log.dir}/analysis/${build.id}_preprocess.log" append="true"> + <arg value="${sf.common.config.dir}/tools/raptor/preprocess_log.pl"/> + </exec> + </sequential> + </for> + + <echo message="Extracting whatlog information from *whatlog*_compile_preprocessed.log files"/> + <for param="whatlogfile"> + <path> + <fileset dir="${build.log.dir}/analysis"> + <include name="*whatlog*_compile_preprocessed.log"/> + </fileset> + </path> + <sequential> + <echo message="Extracting whatlog info from @{whatlogfile}..."/> + <echo message="Exec: [${sf.common.config.dir}/tools/raptor] perl ${sf.common.config.dir}/tools/raptor/parse.pl --releaseable --log=@{whatlogfile} --basedir=${build.log.dir} --append"/> + <exec executable="perl" dir="${sf.common.config.dir}/tools/raptor" failonerror="false" output="${build.log.dir}/analysis/${build.id}_whatlog.log" append="true"> + <arg value="${sf.common.config.dir}/tools/raptor/parse.pl"/> + <arg value="--releaseable"/> + <arg value="--log=@{whatlogfile}"/> + <arg value="--basedir=${build.log.dir}"/> + <arg value="--append"/> + </exec> + </sequential> + </for> + + <echo message="Extracting error information from *_compile_preprocessed.log files"/> + <for param="raptorlogfile"> + <path> + <fileset dir="${build.log.dir}/analysis"> + <include name="*_compile_preprocessed.log"/> + </fileset> + </path> + <sequential> + <echo message="Extracting error info from @{raptorlogfile}..."/> + <propertyregex override="yes" property="raptorconfig" input="@{raptorlogfile}" regexp=".*[\\/].*__(.*)\.whatlog_(single|multiple)_thread.*" replace="\1" casesensitive="false" defaultValue="noconfig"/> + <echo message="Exec: [${sf.common.config.dir}/tools/raptor] perl ${sf.common.config.dir}/tools/raptor/parse.pl --error --warning --unreciped --recipe --config=${raptorconfig} --log=@{raptorlogfile} --basedir=${build.log.dir}/raptorbits --append"/> + <exec executable="perl" dir="${sf.common.config.dir}/tools/raptor" failonerror="false" output="${build.log.dir}/analysis/${build.id}_raptorparse.log" append="true"> + <arg value="${sf.common.config.dir}/tools/raptor/parse.pl"/> + <arg value="--error"/> + <arg value="--warning"/> + <arg value="--unreciped"/> + <arg value="--recipe"/> + <arg value="--config=${raptorconfig}"/> + <arg value="--log=@{raptorlogfile}"/> + <arg value="--basedir=${build.log.dir}/raptorbits"/> + <arg value="--append"/> + </exec> + </sequential> + </for> + + <echo message="Exec: [${sf.common.config.dir}/tools/raptor] perl ${sf.common.config.dir}/tools/raptor/summarize.pl --raptorbitsdir=${build.log.dir}/raptorbits --outputdir=${build.log.dir}"/> + <exec executable="perl" dir="${sf.common.config.dir}/tools/raptor" failonerror="false" output="${build.log.dir}/analysis/${build.id}_raptorparse.log" append="true"> + <arg value="${sf.common.config.dir}/tools/raptor/summarize.pl"/> + <arg value="--raptorbitsdir=${build.log.dir}/raptorbits"/> + <arg value="--outputdir=${build.log.dir}"/> + </exec> + + <!-- Now iterate through the generated TSVs to sort them and remove duplicates --> + <for param="tsv"> + <path> + <fileset dir="${build.log.dir}"> + <include name="releaseables/**/*.tsv"/> + </fileset> + </path> + <sequential> + <exec executable="perl" input="@{tsv}" output="@{tsv}"> + <arg value="${sf.common.config.dir}/tools/sortUnique.pl"/> + </exec> + </sequential> + </for> + </target> ++ + +
+
+
|
++Helium API + + | +||||||
+ prev + next | ++ frames + no frames + + + + + + | +