<!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 gcc-testing (2010-05-13)</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-05-13 Joel Sherrill <joel.sherrilL@OARcorp.com>

        * do_coverage: Provide capability to only analyze one configuration.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems-coverage/ChangeLog.diff?r1=text&tr1=1.247&r2=text&tr2=1.248&diff_format=h">M</a></td><td width='1%'>1.248</td><td width='100%'>rtems-coverage/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems-coverage/do_coverage.diff?r1=text&tr1=1.57&r2=text&tr2=1.58&diff_format=h">M</a></td><td width='1%'>1.58</td><td width='100%'>rtems-coverage/do_coverage</td></tr>
</table>
<pre>
<font color='#006600'>diff -u gcc-testing/rtems-coverage/ChangeLog:1.247 gcc-testing/rtems-coverage/ChangeLog:1.248
--- gcc-testing/rtems-coverage/ChangeLog:1.247  Thu May 13 10:01:05 2010
+++ gcc-testing/rtems-coverage/ChangeLog        Thu May 13 10:57:42 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-05-13    Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+       * do_coverage: Provide capability to only analyze one configuration.
+
</font> 2010-05-13        Jennifer Averett <Jennifer.Averett@OARcorp.com>
 
        * DesiredSymbols.cc, DesiredSymbols.h, covoar.cc: Changed Symbol

<font color='#006600'>diff -u gcc-testing/rtems-coverage/do_coverage:1.57 gcc-testing/rtems-coverage/do_coverage:1.58
--- gcc-testing/rtems-coverage/do_coverage:1.57 Wed May 12 14:22:17 2010
+++ gcc-testing/rtems-coverage/do_coverage      Thu May 13 10:57:42 2010
</font><font color='#997700'>@@ -25,6 +25,8 @@
</font> USAGE="
 usage: $progname [ -opts ]
         -v        -- verbose (default=no)
<font color='#000088'>+        -d        -- analyze Core Configuration (default=yes)
+        -D        -- analyze Developmental Configuration (default=yes)
</font>         -A        -- Execute all steps (default=no)
         -B BSP    -- Specify BSP to test
         -P        -- Enable POSIX API (default=yes)
<font color='#997700'>@@ -39,13 +41,12 @@
</font>         -R        -- generate reports (default=no)
         -f        -- publish the results to ftp site (default=no)
         -t        -- save the results locally (default=no)
<font color='#000088'>+        -O        -- output directory (default=BSP-CONF-YYYYMMDD-HHMM)
</font> 
 Notes:  + There are currently NO checks at each step to determine if
           the previous steps were performed!!!
         + Use of each option toggles the setting.  For example, \"-v -v -A -u\"
<font color='#880000'>-          results in verbose=no and all steps done except CVS update on RTEMS.
-
-"
</font><font color='#000088'>+          results in verbose=no and all steps done except CVS update on RTEMS."
</font> 
 #   log an error to stderr
 prerr()
<font color='#997700'>@@ -92,10 +93,12 @@
</font> do_reports="no"
 do_publish="no"
 do_save_tarballs="no"
<font color='#000088'>+do_core="yes"
+do_developmental="yes"
</font> outputDir=""
 BSP="not_set"
 
<font color='#880000'>-while getopts vB:PSmAucbCLrRftO: OPT
</font><font color='#000088'>+while getopts vB:PSmAucbCLrRftO:dD OPT
</font> do
     case "$OPT" in
         A)
<font color='#997700'>@@ -109,6 +112,8 @@
</font>           do_run_tests="yes"
           do_reports="yes"
           ;;
<font color='#000088'>+        d) do_core=`toggle ${do_core}` ;;
+        D) do_developmental=`toggle ${do_developmental}` ;;
</font>         B) BSP="${OPTARG}";;
         O) outputDir="${OPTARG}";;
         v) verbose=`toggle ${verbose}` ;;
<font color='#997700'>@@ -209,6 +214,7 @@
</font>   echo "do_optimize_size:     " ${do_optimize_size}
   echo "Optimization Level:   " ${c_opt}
   echo "POSIX Enabled:        " ${do_posix}
<font color='#000088'>+  echo "Core Configuration    " ${do_core}
</font>   echo "Developmental Code:   " ${do_developmental}
   echo "do_all:               " ${do_all}
   echo "do_covmerge           " ${do_covmerge}
<font color='#997700'>@@ -232,6 +238,10 @@
</font>  c_opt=-O2
 fi
 
<font color='#000088'>+if [ ${do_core} = "no" -a ${do_developmental} = "no" ]; then
+  fatal "No symbol configurations to analyze selected"
+fi
+
</font> if [ ${verbose} = "yes" ] ; then
   print_verbose
 fi
<font color='#997700'>@@ -304,7 +314,7 @@
</font>     print_element ${hour}:${minute}
     print_element ${c_opt}
     print_element ${do_posix}
<font color='#880000'>-    print_element ${do_developmental}
</font><font color='#000088'>+    print_element ${analyze_developmental}
</font>     print_element `grep "Uncovered range" ${summary} | cut -d ':' -f2`
     print_element `grep "age Not Exec" ${summary} | cut -d ':' -f2`
     print_element `grep "age Exec" ${summary} | cut -d ':' -f2`
<font color='#997700'>@@ -409,7 +419,7 @@
</font>       filter_nm wrapup/posix/o-optimize/libposix.a
     fi
 
<font color='#880000'>-    if [ ${do_developmental} = "yes" ] ; then
</font><font color='#000088'>+    if [ ${analyze_developmental} = "yes" ] ; then
</font>       filter_nm ../lib/libc/${subd}libcsupport.a
       filter_nm ../lib/libmisc/wrapup/${subd}libmisc.a
     fi
<font color='#997700'>@@ -427,7 +437,7 @@
</font> 
     # Now add developmental libraries
     # NOTE: all non-network libraries are listed here.  --joel 5 March 2010
<font color='#880000'>-    if [ ${do_developmental} = "yes" ] ; then
</font><font color='#000088'>+    if [ ${analyze_developmental} = "yes" ] ; then
</font>       # filter_nm libfs/${subd}librfs.a
       # filter_nm libfs/${subd}libdosfs.a
       filter_nm libfs/${subd}libimfs.a
<font color='#997700'>@@ -612,9 +622,17 @@
</font>   cd ${BASEDIR}/${BSP}-tests/
   check_status $? "cd ${BSP}-tests"
 
<font color='#880000'>-  for do_developmental in no yes
</font><font color='#000088'>+  to_analyze=""
+  if [ ${do_core} = "yes" ] ; then
+    to_analyze="${to_analyze} no"
+  fi
+  if [ ${do_developmental} = "yes" ]; then
+    to_analyze="${to_analyze} yes"
+  fi
+
+  for analyze_developmental in ${to_analyze}
</font>   do
<font color='#880000'>-    if [ ${do_developmental} = yes ] ; then
</font><font color='#000088'>+    if [ ${analyze_developmental} = yes ] ; then
</font>       echo "Processing coverage for developmental configuration ..."
       EXT=${EXTENSION}D
     else
</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>