<!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-01-21)</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-01-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
* run_coverage: Parse command arguments better.
</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.296&r2=text&tr2=1.297&diff_format=h">M</a></td><td width='1%'>1.297</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/run_coverage.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>rtems-coverage/run_coverage</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems-testing/rtems-coverage/ChangeLog:1.296 rtems-testing/rtems-coverage/ChangeLog:1.297
--- rtems-testing/rtems-coverage/ChangeLog:1.296 Wed Jan 5 15:21:35 2011
+++ rtems-testing/rtems-coverage/ChangeLog Fri Jan 21 12:52:35 2011
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-01-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ * run_coverage: Parse command arguments better.
+
</font> 2011-01-05 Joey Geralnik <jgeralnik@gmail.com>
* generate_coverage_html: Add timeplot output as part of Google Code In
<font color='#006600'>diff -u rtems-testing/rtems-coverage/run_coverage:1.12 rtems-testing/rtems-coverage/run_coverage:1.13
--- rtems-testing/rtems-coverage/run_coverage:1.12 Sun Apr 18 17:03:18 2010
+++ rtems-testing/rtems-coverage/run_coverage Fri Jan 21 12:52:35 2011
</font><font color='#997700'>@@ -127,7 +127,7 @@
</font> do
case ${cmd} in
update) ;; # general command
<font color='#880000'>- *_Os|*_O2|*_baseline) # one BSP at specific -Ox level
</font><font color='#000088'>+ *_O[sS2][pP][dD]|*_baseline) # one BSP at specific -Ox level
</font> case ${cmd} in
lm32_evr*) bsp=lm32_evr ;;
*) bsp=`echo $cmd | sed -e 's/_.*$//'` ;;
<font color='#997700'>@@ -149,21 +149,38 @@
</font> test -d ${RESULTSDIR} || mkdir -p ${RESULTSDIR}
for cmd in $*
do
<font color='#000088'>+echo $cmd
</font> case ${cmd} in
update)<span style="background-color: #FF0000"> </span>
time ${COVBASE}/do_coverage -u -m -B erc32
;;
<font color='#880000'>- *_O[s2])
- bsp=`echo $cmd | sed -e 's/_O.$//'`
- Olevel=`echo $cmd | sed -e 's/.*_O\(.\)$/\1/'`
- case ${Olevel} in
- 2) do_one ${bsp} ;;
- [sS]) do_one ${bsp} -S ;;
- *) echo ERROR unknown optimization level ; exit 1 ;;
- esac
</font><font color='#000088'>+ *_O[sS2][pP][dD])
+ bsp=`echo $cmd | sed -e 's/_O.*$//'`
+ args=`echo $cmd | sed -e 's/^.*_//'`
+ Olevel=`echo $cmd | sed -e 's/.*_O\(.\).*$/\1/'`
+ posix=`echo $cmd | sed -e 's/.*_O.\(.\).*$/\1/'`
+ devel=`echo $cmd | sed -e 's/.*_O..\(.\)$/\1/'`
+
+ echo $bsp $args $Olevel $posix $devel
+ optArg="-S"
+ if [ ${Olevel} = "2" ] ; then
+ optArg=""
+ fi
+ posixArg=""
+ if [ ${posix} = "p" ] ; then
+ posixArg="-P"
+ fi
+ develArg=""
+ if [ ${devel} = "d" ] ; then
+ develArg="-D"
+ fi
+
+ # echo do_one ${bsp} ${optArg} ${posixArg} ${develArg}
+ do_one ${bsp} ${optArg} ${posixArg} ${develArg}
</font> ;;
*_baseline)<span style="background-color: #FF0000"> </span>
bsp=`echo $cmd | sed -e 's/_baseline$//'`
<font color='#000088'>+ # XXX development off?
</font> do_one ${bsp} -S # -Os / POSIX enabled / regression
do_one ${bsp} -S -P # -Os / POSIX disabled / regression
do_one ${bsp} # -O2 / POSIX enabled / regression
</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>