<!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-06-30)</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-06-30 Joel Sherrill <joel.sherrilL@OARcorp.com>
* do_coverage: Add information on unreferenced symbols to summary.txt.
</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.284&r2=text&tr2=1.285&diff_format=h">M</a></td><td width='1%'>1.285</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/do_coverage.diff?r1=text&tr1=1.68&r2=text&tr2=1.69&diff_format=h">M</a></td><td width='1%'>1.69</td><td width='100%'>rtems-coverage/do_coverage</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems-testing/rtems-coverage/ChangeLog:1.284 rtems-testing/rtems-coverage/ChangeLog:1.285
--- rtems-testing/rtems-coverage/ChangeLog:1.284 Mon Jun 21 13:33:06 2010
+++ rtems-testing/rtems-coverage/ChangeLog Wed Jun 30 10:27:29 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-06-30 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ * do_coverage: Add information on unreferenced symbols to summary.txt.
+
</font> 2010-06-21 Jennifer Averett <Jennifer.Averett@OARcorp.com
* Categories.txt, Explanations.txt: Added explinations for wrapper
<font color='#006600'>diff -u rtems-testing/rtems-coverage/do_coverage:1.68 rtems-testing/rtems-coverage/do_coverage:1.69
--- rtems-testing/rtems-coverage/do_coverage:1.68 Tue Jun 8 06:54:34 2010
+++ rtems-testing/rtems-coverage/do_coverage Wed Jun 30 10:27:29 2010
</font><font color='#997700'>@@ -326,6 +326,20 @@
</font> echo "</TR>"
}
<font color='#000088'>+add_to_summary()
+{
+ unref=${results_dir}/sizes_unreferenced.txt<span style="background-color: #FF0000"> </span>
+ echo
+ unreffed=`cat ${unref} | wc -l`<span style="background-color: #FF0000"> </span>
+ echo "Symbols unreferenced: " ${unreffed}
+ if [ ${unreffed} = 0 ] ; then
+ size_of=0
+ else
+ size_of=`cut -f1 ${unref} | sed -e '2,$s/$/ +/' -e '$,$s/$/ p/' | dc`
+ fi
+ echo "Bytes in unreferenced symbols : " ${size_of}
+}
+
</font> # generate the coverage report set
generate_reports()
{
<font color='#997700'>@@ -377,16 +391,6 @@
</font> print_verbose
) >${results_dir}/configuration.txt
<font color='#880000'>- # XXX summary should be in output directory
- generate_html ${results_dir}/summary.txt >${results_dir}/row.html
-
- cat ${results_dir}/summary.txt ${results_dir}/testsWithNoEndOfTest.txt
-
- mv ${results_dir}/index.html ${results_dir}/index.html.tmp
- sed -f ${COVBASE}/rtems_items.sed \
- <${results_dir}/index.html.tmp \
- >${results_dir}/index.html<span style="background-color: #FF0000"> </span>
-
</font> RTEMSLIB=${BASEDIR}/b-${BSP}/${TARGET}/${BSP}/lib/librtemscpu.a
if [ -r ${RTEMSLIB} ] ; then
<font color='#997700'>@@ -405,6 +409,16 @@
</font> cat ${results_dir}/sizes_unreferenced.txt ${results_dir}/sizes.txt | \
sort -n -r >${results_dir}/sizes_all.txt
<font color='#000088'>+ generate_html ${results_dir}/summary.txt >${results_dir}/row.html
+ add_to_summary >>${results_dir}/summary.txt
+
+ cat ${results_dir}/summary.txt ${results_dir}/testsWithNoEndOfTest.txt
+
+ mv ${results_dir}/index.html ${results_dir}/index.html.tmp
+ sed -f ${COVBASE}/rtems_items.sed \
+ <${results_dir}/index.html.tmp \
+ >${results_dir}/index.html<span style="background-color: #FF0000"> </span>
+
</font> # Now create the archive of information
cp ${COVOARBASE}/covoar.css ${COVOARBASE}/*gif ${COVOARBASE}/table.js ${results_dir}
echo "Results saved in ${results_dir}.tar.bz2"
</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>