change log for rtems-testing (2011-01-21)
rtems-vc at rtems.org
rtems-vc at rtems.org
Fri Jan 21 19:10:03 UTC 2011
*joel*:
2011-01-21 Joel Sherrill <joel.sherrilL at OARcorp.com>
* run_coverage: Parse command arguments better.
M 1.297 rtems-coverage/ChangeLog
M 1.13 rtems-coverage/run_coverage
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
@@ -1,3 +1,7 @@
+2011-01-21 Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+ * run_coverage: Parse command arguments better.
+
2011-01-05 Joey Geralnik <jgeralnik at gmail.com>
* generate_coverage_html: Add timeplot output as part of Google Code In
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
@@ -127,7 +127,7 @@
do
case ${cmd} in
update) ;; # general command
- *_Os|*_O2|*_baseline) # one BSP at specific -Ox level
+ *_O[sS2][pP][dD]|*_baseline) # one BSP at specific -Ox level
case ${cmd} in
lm32_evr*) bsp=lm32_evr ;;
*) bsp=`echo $cmd | sed -e 's/_.*$//'` ;;
@@ -149,21 +149,38 @@
test -d ${RESULTSDIR} || mkdir -p ${RESULTSDIR}
for cmd in $*
do
+echo $cmd
case ${cmd} in
update)
time ${COVBASE}/do_coverage -u -m -B erc32
;;
- *_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
+ *_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}
;;
*_baseline)
bsp=`echo $cmd | sed -e 's/_baseline$//'`
+ # XXX development off?
do_one ${bsp} -S # -Os / POSIX enabled / regression
do_one ${bsp} -S -P # -Os / POSIX disabled / regression
do_one ${bsp} # -O2 / POSIX enabled / regression
--
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/20110121/837f830b/attachment-0001.html>
More information about the vc
mailing list