<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems-testing (2010-10-14)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-10-14 Joel Sherrill <joel.sherrilL@OARcorp.com>
* generate_coverage_html: Add uncovered ranges.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-coverage/ChangeLog.diff?r1=text&tr1=1.292&r2=text&tr2=1.293&diff_format=h">M</a></td><td width='1%'>1.293</td><td width='100%'>rtems-coverage/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-coverage/generate_coverage_html.diff?r1=text&tr1=1.24&r2=text&tr2=1.25&diff_format=h">M</a></td><td width='1%'>1.25</td><td width='100%'>rtems-coverage/generate_coverage_html</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems-testing/rtems-coverage/ChangeLog:1.292 rtems-testing/rtems-coverage/ChangeLog:1.293
--- rtems-testing/rtems-coverage/ChangeLog:1.292 Thu Oct 14 09:27:49 2010
+++ rtems-testing/rtems-coverage/ChangeLog Thu Oct 14 13:17:51 2010
</font><font color='#997700'>@@ -1,5 +1,9 @@
</font> 2010-10-14 Joel Sherrill <joel.sherrilL@OARcorp.com>
<font color='#000088'>+ * generate_coverage_html: Add uncovered ranges.
+
+2010-10-14 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
</font> * generate_coverage_html: Add progress tracking time/series plots.
2010-08-26 Joel Sherrill <joel.sherrill@oarcorp.com>
<font color='#006600'>diff -u rtems-testing/rtems-coverage/generate_coverage_html:1.24 rtems-testing/rtems-coverage/generate_coverage_html:1.25
--- rtems-testing/rtems-coverage/generate_coverage_html:1.24 Thu Oct 14 09:27:49 2010
+++ rtems-testing/rtems-coverage/generate_coverage_html Thu Oct 14 13:17:51 2010
</font><font color='#997700'>@@ -196,18 +196,17 @@
</font> echo " Uncovered Percentage (Core)</a></li>"
echo "<li><a href=\"graphs/${BSP}-uncovered_percent-D.png\">"
echo " Uncovered Percentage (Developmental)</a></li>"
<font color='#880000'>-echo "<li><a href=\"graphs/${BSP}-uncovered_bytes-d.png\">"
-echo " Uncovered Bytes (Core)</a></li>"
</font>
<font color='#880000'>-echo "<li><a href=\"graphs/${BSP}-total_bytes-D.png\">"
-echo " Total Bytes Analyzed (Developmental)</a></li>"
</font> echo "<li><a href=\"graphs/${BSP}-total_bytes-d.png\">"
echo " Total Bytes Analyzed (Core)</a></li>"
echo "<li><a href=\"graphs/${BSP}-total_bytes-D.png\">"
echo " Total Bytes Analyzed (Developmental)</a></li>"
<font color='#880000'>-echo "<li><a href=\"graphs/${BSP}-uncovered_bytes-D.png\">"
-echo " Uncovered Bytes (Developmental)</a></li>"
</font><font color='#000088'>+echo "<li><a href=\"graphs/${BSP}-ranges-d.png\">"
+echo " Uncovered Ranges (Core)</a></li>"
+echo "<li><a href=\"graphs/${BSP}-ranges-D.png\">"
+echo " Uncovered Ranges (Developmental)</a></li>"
+
</font> echo "<li><a href=\"graphs/${BSP}-uncovered_bytes-d.png\">"
echo " Uncovered Bytes (Core)</a></li>"
echo "<li><a href=\"graphs/${BSP}-uncovered_bytes-D.png\">"
<font color='#997700'>@@ -350,6 +349,12 @@
</font> max=`cat ${datfiles} | sort -k2 -n | tail -n 1 | cut -d' ' -f2`
round=
case ${FIELD} in
<font color='#000088'>+ ranges)
+ round=10
+ min=`round_down ${min} 10 0`
+ max=`round_up ${max} 10 1000000`
+ YLABEL=Ranges
+ ;;
</font> covered_percent)
max=100.0
YLABEL=Covered
<font color='#997700'>@@ -415,7 +420,7 @@
</font> echo "set xrange [\""${start}"\":\""${end}"\"]"
echo "set yrange [${min}:${max}]"
echo "set grid"
<font color='#880000'>- echo "set xlabel \"Date\\nTime\""
</font><font color='#000088'>+ echo "set xlabel \"Date\""
</font> echo "set ylabel \"${YLABEL}\""
echo "set title \"${TITLE}\""
echo "set key left box"
<font color='#997700'>@@ -435,7 +440,15 @@
</font> for s in `ls -1 ${bsp}-${CONF}-*/summary.txt | sort `
do
timestamp=`echo $s | cut -d'-' -f3-4 | cut -d'/' -f1`
<font color='#880000'>- num=`grep "${PATTERN}" $s | cut -d':' -f2`
</font><font color='#000088'>+ case ${FIELD} in
+ ranges)
+ num=`grep "${PATTERN}" $s | cut -d' ' -f1`
+ if [ "X${num}" = "X" ] ; then
+ num=`grep -i "${PATTERN}" $s | cut -d':' -f2`
+ fi
+ ;;
+ *) num=`grep "${PATTERN}" $s | cut -d':' -f2` ;;
+ esac
</font>
Year=`echo ${timestamp} | cut -c1-4`
Month=`echo ${timestamp} | cut -c5-6`
<font color='#997700'>@@ -474,10 +487,12 @@
</font>
for bsp in ${BSPs}
do
<font color='#880000'>- for FIELD in total_bytes uncovered_bytes uncovered_percent #covered_percent<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ for FIELD in ranges total_bytes uncovered_bytes \
+ uncovered_percent #covered_percent<span style="background-color: #FF0000"> </span>
</font> do
# Pattern to find in summary.txt
case ${FIELD} in
<font color='#000088'>+ ranges) PATTERN="Uncovered Ranges Found" ;;
</font> covered_percent) PATTERN="Percentage Executed" ;;
uncovered_percent) PATTERN="Percentage Not Executed" ;;
total_bytes) PATTERN="Bytes Analyzed" ;;
</pre>
<p> </p>
<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>