change log for rtems-testing (2010-06-30)
rtems-vc at rtems.org
rtems-vc at rtems.org
Wed Jun 30 16:10:09 UTC 2010
*joel*:
2010-06-30 Joel Sherrill <joel.sherrilL at OARcorp.com>
* do_coverage: Add information on unreferenced symbols to summary.txt.
M 1.285 rtems-coverage/ChangeLog
M 1.69 rtems-coverage/do_coverage
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
@@ -1,3 +1,7 @@
+2010-06-30 Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+ * do_coverage: Add information on unreferenced symbols to summary.txt.
+
2010-06-21 Jennifer Averett <Jennifer.Averett at OARcorp.com
* Categories.txt, Explanations.txt: Added explinations for wrapper
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
@@ -326,6 +326,20 @@
echo "</TR>"
}
+add_to_summary()
+{
+ unref=${results_dir}/sizes_unreferenced.txt
+ echo
+ unreffed=`cat ${unref} | wc -l`
+ 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}
+}
+
# generate the coverage report set
generate_reports()
{
@@ -377,16 +391,6 @@
print_verbose
) >${results_dir}/configuration.txt
- # 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
-
RTEMSLIB=${BASEDIR}/b-${BSP}/${TARGET}/${BSP}/lib/librtemscpu.a
if [ -r ${RTEMSLIB} ] ; then
@@ -405,6 +409,16 @@
cat ${results_dir}/sizes_unreferenced.txt ${results_dir}/sizes.txt | \
sort -n -r >${results_dir}/sizes_all.txt
+ 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
+
# 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"
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100630/214b693e/attachment.html>
More information about the vc
mailing list