<!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 (2011-02-09)</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>2011-02-09 Joel Sherrill <joel.sherrilL@OARcorp.com>
* VERSIONS-COVERAGE, generate_coverage_html: Add argument to disable
plots and graphs. When doing coverage for a single configuration,
this is important.
</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.299&r2=text&tr2=1.300&diff_format=h">M</a></td><td width='1%'>1.300</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/VERSIONS-COVERAGE.diff?r1=text&tr1=1.23&r2=text&tr2=1.24&diff_format=h">M</a></td><td width='1%'>1.24</td><td width='100%'>rtems-coverage/VERSIONS-COVERAGE</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.29&r2=text&tr2=1.30&diff_format=h">M</a></td><td width='1%'>1.30</td><td width='100%'>rtems-coverage/generate_coverage_html</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems-testing/rtems-coverage/ChangeLog:1.299 rtems-testing/rtems-coverage/ChangeLog:1.300
--- rtems-testing/rtems-coverage/ChangeLog:1.299 Fri Jan 28 15:52:52 2011
+++ rtems-testing/rtems-coverage/ChangeLog Wed Feb 9 08:54:49 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-02-09 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ * VERSIONS-COVERAGE, generate_coverage_html: Add argument to disable
+ plots and graphs. When doing coverage for a single configuration,
+ this is important.
+
</font> 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
* run_coverage: Always be verbose and echo the command line.
<font color='#006600'>diff -u rtems-testing/rtems-coverage/VERSIONS-COVERAGE:1.23 rtems-testing/rtems-coverage/VERSIONS-COVERAGE:1.24
--- rtems-testing/rtems-coverage/VERSIONS-COVERAGE:1.23 Mon Jun 7 18:50:14 2010
+++ rtems-testing/rtems-coverage/VERSIONS-COVERAGE Wed Feb 9 08:54:49 2011
</font><font color='#997700'>@@ -2,7 +2,7 @@
</font> BASEDIR=${HOME}/test-gcc
<font color='#880000'>-RTEMS_VERSION=4.11
</font><font color='#000088'>+RTEMS_VERSION=4.10
</font> case ${RTEMS_VERSION} in
4.5) RTEMSDIR=${BASEDIR}/rtems-45
TARDIR=${BASEDIR}/tarballs/4.5
<font color='#997700'>@@ -24,7 +24,7 @@
</font> TARDIR=${BASEDIR}/tarballs/4.9
DEFAULT_EXEEXT=ralf
;;
<font color='#880000'>- 4.10) RTEMSDIR=${BASEDIR}/rtems-49
</font><font color='#000088'>+ 4.10) RTEMSDIR=${BASEDIR}/rtems-410
</font> TARDIR=${BASEDIR}/tarballs/4.10
DEFAULT_EXEEXT=ralf
;;
<font color='#006600'>diff -u rtems-testing/rtems-coverage/generate_coverage_html:1.29 rtems-testing/rtems-coverage/generate_coverage_html:1.30
--- rtems-testing/rtems-coverage/generate_coverage_html:1.29 Wed Jan 26 12:26:00 2011
+++ rtems-testing/rtems-coverage/generate_coverage_html Wed Feb 9 08:54:49 2011
</font><font color='#997700'>@@ -47,13 +47,15 @@
</font> esac
}
<font color='#000088'>+do_plots="yes"
</font> verbose="no"
RTEMS_VERSION="CVS Head"
<font color='#880000'>-while getopts vr: OPT
</font><font color='#000088'>+while getopts vpr: OPT
</font> do
case "$OPT" in
r) RTEMS_VERSION="${OPTARG}";;
<font color='#000088'>+ p) do_plots=no ;;
</font> v) verbose=`toggle ${verbose}` ;;
*) fatal;;
esac
<font color='#997700'>@@ -193,12 +195,19 @@
</font> <table align="center">
<thead>
<tr class="heading-title">
<font color='#880000'>-<td width="30%">Result Tables</td>
-<td width="30%">Time Series Graphs</td>
-<td width="30%">TimePlot Graphs</td>
</font><font color='#000088'>+EOF
+ if [ ${do_plots} = "yes" ] ; then<span style="background-color: #FF0000"> </span>
+ echo "<td width=\"30%\">Result Tables</td>"
+ echo "<td width=\"30%\">Time Series Graphs</td>"
+ echo "<td width=\"30%\">TimePlot Graphs</td>"
+ else
+ echo "<td>Result Tables</td>"
+ fi
+
+cat <<EOF
</font> </thead>
</tr>
<font color='#880000'>-<td>
</font><font color='#000088'>+<td align="left">
</font> <ul>
<li><a href="#O2pd">-O2, POSIX Disabled, Core Only</a></li>
<li><a href="#O2pD">-O2, POSIX Disabled, Developmental</a></li>
<font color='#997700'>@@ -214,25 +223,28 @@
</font> <ul>
EOF
<font color='#880000'>-echo "<li><a href=\"graphs/${BSP}-uncovered_percent-d.png\">"
-echo " Uncovered Percentage (Core)</a></li>"
-echo "<li><a href=\"graphs/${BSP}-uncovered_percent-D.png\">"
-echo " Uncovered Percentage (Developmental)</a></li>"
-
-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>"
-
-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>"
-
-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\">"
-echo " Uncovered Bytes (Developmental)</a></li>"
</font><font color='#000088'>+
+ if [ ${do_plots} = "yes" ] ; then<span style="background-color: #FF0000"> </span>
+ echo "<li><a href=\"graphs/${BSP}-uncovered_percent-d.png\">"
+ echo " Uncovered Percentage (Core)</a></li>"
+ echo "<li><a href=\"graphs/${BSP}-uncovered_percent-D.png\">"
+ echo " Uncovered Percentage (Developmental)</a></li>"
+
+ 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>"
+
+ 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>"
+
+ 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\">"
+ echo " Uncovered Bytes (Developmental)</a></li>"
+ fi
</font>
cat <<EOF
</ul>
<font color='#997700'>@@ -241,20 +253,22 @@
</font> <ul>
EOF
<font color='#880000'>-echo "<li><a href=\"graphs/timeplot-${BSP}.html\">"
-echo " TimePlot Graphs</a></li>"
</font><font color='#000088'>+ if [ ${do_plots} = "yes" ] ; then<span style="background-color: #FF0000"> </span>
+ echo "<li><a href=\"graphs/timeplot-${BSP}.html\">"
+ echo " TimePlot Graphs</a></li>"
</font>
<font color='#880000'>-echo "<li><a href=\"graphs/timeplot-${BSP}.html#uncovered_percent\">"
-echo " Uncovered Percentage</a></li>"
</font><font color='#000088'>+ echo "<li><a href=\"graphs/timeplot-${BSP}.html#uncovered_percent\">"
+ echo " Uncovered Percentage</a></li>"
</font>
<font color='#880000'>-echo "<li><a href=\"graphs/timeplot-${BSP}.html#total_bytes\">"
-echo " Total Bytes Analyzed</a></li>"
</font><font color='#000088'>+ echo "<li><a href=\"graphs/timeplot-${BSP}.html#total_bytes\">"
+ echo " Total Bytes Analyzed</a></li>"
</font>
<font color='#880000'>-echo "<li><a href=\"graphs/timeplot-${BSP}.html#ranges\">"
-echo " Uncovered Ranges</a></li>"
</font><font color='#000088'>+ echo "<li><a href=\"graphs/timeplot-${BSP}.html#ranges\">"
+ echo " Uncovered Ranges</a></li>"
</font>
<font color='#880000'>-echo "<li><a href=\"graphs/timeplot-${BSP}.html#uncovered_bytes\">"
-echo " Uncovered Bytes</a></li>"
</font><font color='#000088'>+ echo "<li><a href=\"graphs/timeplot-${BSP}.html#uncovered_bytes\">"
+ echo " Uncovered Bytes</a></li>"
+ fi
</font>
cat <<EOF
</ul>
<font color='#997700'>@@ -324,7 +338,7 @@
</font> cpu=`grep ^Target ${dir}-*/configuration.txt | tail -1 | \
sed -e 's/^.*://' -e 's/^.*: *\([a-z]*\)-rtems.*$/\1/'`
echo ${cpu}/${bsp}
<font color='#880000'>- done | sort -t / -k 1 -k 2 | cut -d'/' -f2
</font><font color='#000088'>+ done | sort -t / -k 1 -k 2 | cut -d'/' -f2 | sort -u
</font> # sort cpu,bsp alphabetically
}
<font color='#997700'>@@ -619,6 +633,8 @@
</font> exit 1
fi
<font color='#000088'>+echo "Generating HTML reports for RTEMS ${RTEMS_VERSION}"
+
</font> # Put the style sheets in place
if [ ! -d rtems ] ; then
mkdir rtems
<font color='#997700'>@@ -656,39 +672,40 @@
</font> cd $1/${bsp}
do_perBSPPage ${bsp} >${bsp}.html
<font color='#880000'>- cd $1
- OUTFIG=${bsp}/graphs
- OUTDAT=${bsp}/plot_data
- echo "Generating Static Plots for ${bsp}..."
- for FIELD in ranges total_bytes uncovered_bytes \
- uncovered_percent #covered_percent
- do
- # Pattern to find in summary.txt
- case ${FIELD} in
- ranges) PATTERN="Uncovered Ranges Found" ;;
- covered_percent) PATTERN="Percentage Executed" ;;
- uncovered_percent) PATTERN="Percentage Not Executed" ;;
- total_bytes) PATTERN="Bytes Analyzed" ;;
- uncovered_bytes) PATTERN="Bytes Not Executed" ;;
- *) echo "Unknown field (${FIELD})"; exit 1 ;;
- esac
-
- for DEV in d D
</font><font color='#000088'>+ if [ ${do_plots} = "yes" ] ; then<span style="background-color: #FF0000"> </span>
+ cd $1
+ OUTFIG=${bsp}/graphs
+ OUTDAT=${bsp}/plot_data
+ echo "Generating Static Plots for ${bsp}..."
+ for FIELD in ranges total_bytes uncovered_bytes \
+ uncovered_percent #covered_percent
</font> do
<font color='#880000'>- for CONF in Osp${DEV} OsP${DEV} O2p${DEV} O2P${DEV}
</font><font color='#000088'>+ # Pattern to find in summary.txt
+ case ${FIELD} in
+ ranges) PATTERN="Uncovered Ranges Found" ;;
+ covered_percent) PATTERN="Percentage Executed" ;;
+ uncovered_percent) PATTERN="Percentage Not Executed" ;;
+ total_bytes) PATTERN="Bytes Analyzed" ;;
+ uncovered_bytes) PATTERN="Bytes Not Executed" ;;
+ *) echo "Unknown field (${FIELD})"; exit 1 ;;
+ esac
+
+ for DEV in d D
</font> do
<font color='#880000'>- gen_data ${bsp} ${CONF} >${OUTDAT}/${bsp}-${CONF}-${FIELD}.dat
</font><font color='#000088'>+ for CONF in Osp${DEV} OsP${DEV} O2p${DEV} O2P${DEV}
+ do
+ gen_data ${bsp} ${CONF} >${OUTDAT}/${bsp}-${CONF}-${FIELD}.dat
+ done
+
+ pltfile=${OUTDAT}/${bsp}-${FIELD}-${DEV}.plt
+ gen_plot >${pltfile}
+ gnuplot ${pltfile}
</font> done
<font color='#880000'>-
- pltfile=${OUTDAT}/${bsp}-${FIELD}-${DEV}.plt
- gen_plot >${pltfile}
- gnuplot ${pltfile}
-
</font> done
<font color='#880000'>- done
</font>
<font color='#880000'>- echo "Generating Time Plots for ${bsp}..."
- timeplotfile=${OUTFIG}/timeplot-${bsp}.html
- gen_timeplot ${bsp} > ${timeplotfile}
</font><font color='#000088'>+ echo "Generating Time Plots for ${bsp}..."
+ timeplotfile=${OUTFIG}/timeplot-${bsp}.html
+ gen_timeplot ${bsp} > ${timeplotfile}
+ fi
</font> done
exit 0
</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>