change log for rtems-testing (2011-03-13)

rtems-vc at rtems.org rtems-vc at rtems.org
Sun Mar 13 23:10:03 UTC 2011


 *joel*:
2011-03-13	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* VERSIONS-COVERAGE, do_coverage, run_coverage: Make improvements so it
	is easier to run on released RTEMS versions.

M  1.304  rtems-coverage/ChangeLog
M   1.26  rtems-coverage/VERSIONS-COVERAGE
M   1.74  rtems-coverage/do_coverage
M   1.17  rtems-coverage/run_coverage

diff -u rtems-testing/rtems-coverage/ChangeLog:1.303 rtems-testing/rtems-coverage/ChangeLog:1.304
--- rtems-testing/rtems-coverage/ChangeLog:1.303	Mon Feb 14 14:51:49 2011
+++ rtems-testing/rtems-coverage/ChangeLog	Sun Mar 13 17:16:37 2011
@@ -1,3 +1,8 @@
+2011-03-13	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* VERSIONS-COVERAGE, do_coverage, run_coverage: Make improvements so it
+	is easier to run on released RTEMS versions.
+
 2011-02-14	Joel Sherrill <joel.sherrilL at OARcorp.com>
 
 	* coverage_cron, run_coverage: Switch defaults on publishing.

diff -u rtems-testing/rtems-coverage/VERSIONS-COVERAGE:1.25 rtems-testing/rtems-coverage/VERSIONS-COVERAGE:1.26
--- rtems-testing/rtems-coverage/VERSIONS-COVERAGE:1.25	Thu Feb 10 15:20:53 2011
+++ rtems-testing/rtems-coverage/VERSIONS-COVERAGE	Sun Mar 13 17:16:37 2011
@@ -1,31 +1,20 @@
 # USE FULL PATHS!!!
 BASEDIR=${HOME}/test-gcc
 
-
-RTEMS_VERSION=4.11
+RTEMS_VERSION=4.10.0
 case ${RTEMS_VERSION} in
   4.5)  RTEMSDIR=${BASEDIR}/rtems-45
         TARDIR=${BASEDIR}/tarballs/4.5
         DEFAULT_EXEEXT=exe
         ;;
-  4.6)  RTEMSDIR=${BASEDIR}/rtems-46
-        TARDIR=${BASEDIR}/tarballs/4.6
-        DEFAULT_EXEEXT=exe
-        ;;
-  4.7)  RTEMSDIR=${BASEDIR}/rtems-47
-        TARDIR=${BASEDIR}/tarballs/4.7
-        DEFAULT_EXEEXT=exe
-        ;;
-  4.8)  RTEMSDIR=${BASEDIR}/rtems-48
-        TARDIR=${BASEDIR}/tarballs/4.8
+  4.6*|4.7*|4.8*)
+        RTEMSDIR=${BASEDIR}/rtems-${RTEMS_VERSION}
+        TARDIR=${BASEDIR}/tarballs/${RTEMS_VERSION}
         DEFAULT_EXEEXT=exe
-        ;;
-  4.9)  RTEMSDIR=${BASEDIR}/rtems-49
-        TARDIR=${BASEDIR}/tarballs/4.9
-        DEFAULT_EXEEXT=ralf
-        ;;
-  4.10) RTEMSDIR=${BASEDIR}/rtems-410
-        TARDIR=${BASEDIR}/tarballs/4.10
+       ;;
+  4.9*|4.10*)
+        RTEMSDIR=${BASEDIR}/rtems-${RTEMS_VERSION}
+        TARDIR=${BASEDIR}/tarballs/${RTEMS_VERSION}
         DEFAULT_EXEEXT=ralf
         ;;
   4.11) RTEMSDIR=${BASEDIR}/rtems
@@ -44,7 +33,7 @@
 FTPDIR=/home/ftp/pub/rtems/people/joel/coverage/
 
 # Calculated
-SCRIPTDIR=${BASEDIR}/gcc-testing
+SCRIPTDIR=${BASEDIR}/rtems-testing
 COVBASE=${SCRIPTDIR}/rtems-coverage
 COVOARBASE=${SCRIPTDIR}/covoar
 

diff -u rtems-testing/rtems-coverage/do_coverage:1.73 rtems-testing/rtems-coverage/do_coverage:1.74
--- rtems-testing/rtems-coverage/do_coverage:1.73	Wed Jan 26 12:25:59 2011
+++ rtems-testing/rtems-coverage/do_coverage	Sun Mar 13 17:16:37 2011
@@ -84,7 +84,7 @@
 do_all="no"
 do_posix="yes"
 do_optimize_size="no"
-do_covmerge="no"
+do_covoar="no"
 do_rtems_update="no"
 do_rtems_configure="no"
 do_rtems_build="no"
@@ -104,7 +104,7 @@
     case "$OPT" in
         A)
           do_all="yes"
-          do_covmerge="yes"
+          do_covoar="yes"
           do_posix="yes"
           do_rtems_update="yes"
           do_rtems_configure="yes"
@@ -118,7 +118,7 @@
         B) BSP="${OPTARG}";;
         O) outputDir="${OPTARG}";;
         v) verbose=`toggle ${verbose}` ;;
-        m) do_covmerge=`toggle ${do_covmerge}` ;;
+        m) do_covoar=`toggle ${do_covoar}` ;;
         P) do_posix=`toggle ${do_posix}` ;;
         S) do_optimize_size=`toggle ${do_optimize_size}` ;;
         u) do_rtems_update=`toggle ${do_rtems_update}` ;;
@@ -200,11 +200,17 @@
     ;;
 esac
 
-if [ ${RTEMS_VERSION} = 4.6 -o ${RTEMS_VERSION} = 4.5 ] ; then
-  TARGET=${CPU}-rtems
-else
-  TARGET=${CPU}-rtems${RTEMS_VERSION}
-fi
+case ${RTEMS_VERSION} in
+  4.5*)  TARGET=${CPU}-rtems ;;
+  4.6*)  TARGET=${CPU}-rtems ;;
+  4.7*)  TARGET=${CPU}-rtems4.7 ;;
+  4.8*)  TARGET=${CPU}-rtems4.8 ;;
+  4.9*)  TARGET=${CPU}-rtems4.9 ;;
+  4.10*) TARGET=${CPU}-rtems4.10 ;;
+  4.11*) TARGET=${CPU}-rtems4.11 ;;
+  *)
+    fatal "Unknown RTEMS Version (${RTEMS_VERSION})" ;;
+esac
 
 ##### VERBOSE
 print_verbose()
@@ -218,7 +224,7 @@
   echo "Core Configuration    " ${do_core}
   echo "Developmental Code:   " ${do_developmental}
   echo "do_all:               " ${do_all}
-  echo "do_covmerge           " ${do_covmerge}
+  echo "do_covoar             " ${do_covoar}
   echo "do_rtems_update:      " ${do_rtems_update}
   echo "do_rtems_configure:   " ${do_rtems_configure}
   echo "do_rtems_build:       " ${do_rtems_build}
@@ -256,7 +262,7 @@
 fi
 
 if [ ! -d ${RTEMSDIR} ] ; then
-  echo "Check out RTEMS!!!"
+  echo "${RTEMSDIR} not found!!!"
   exit 1
 fi
 
@@ -459,8 +465,9 @@
       ${TARGET}-nm --format=sysv $l | grep "FUNC|" | \
         cut -d'|' -f1 | sed -e 's/ *$//'
       # echo "========= END $l"
-    else
-      echo "${l} is not readable"
+
+    # no else
+      # We keep a complete CURRENT list and some are not in old versions
     fi
   done
 }
@@ -468,70 +475,73 @@
 # generate the list of symbols to analyze
 generate_symbols()
 {
-  if [ ${RTEMS_VERSION} = 4.6 -o ${RTEMS_VERSION} = 4.5 ] ; then
-    cd ${BASEDIR}/b-${BSP}/${TARGET}/c/${BSP}/exec
-    check_status $? "could not cd to object directory"
-
-    subd=o-optimize/
-  else
-    cd ${BASEDIR}/b-${BSP}/${TARGET}/c/${BSP}/cpukit
-    check_status $? "could not cd to object directory"
-
-    subd=
-  fi
-
-  if [ ${RTEMS_VERSION} = 4.5 ] ; then
-    filter_nm wrapup/rtems/o-optimize/librtems.a
-    if [ ${do_posix} = "yes" ] ; then
-      filter_nm wrapup/posix/o-optimize/libposix.a
-    fi
-
-    if [ ${analyze_developmental} = "yes" ] ; then
-      filter_nm ../lib/libc/${subd}libcsupport.a
-      filter_nm ../lib/libmisc/wrapup/${subd}libmisc.a
-    fi
-  else  # 4.6 or newer
+  case ${RTEMS_VERSION} in
+    4.5*|4.6*)
+      cd ${BASEDIR}/b-${BSP}/${TARGET}/c/${BSP}/exec
+      check_status $? "could not cd to object directory"
+      subd=o-optimize/
+      ;;
+    *)
+      cd ${BASEDIR}/b-${BSP}/${TARGET}/c/${BSP}/cpukit
+      check_status $? "could not cd to object directory"
+      subd=
+      ;;
+  esac
+
+  case ${RTEMS_VERSION} in
+    4.5*)
+      filter_nm wrapup/rtems/o-optimize/librtems.a
+      if [ ${do_posix} = "yes" ] ; then
+	filter_nm wrapup/posix/o-optimize/libposix.a
+      fi
 
-    # Base set of libraries to analyse.  Do NOT include libscorecpu.a!!!
-    filter_nm score/${subd}libscore.a
-    filter_nm sapi/${subd}libsapi.a
-    filter_nm rtems/${subd}librtems.a
-
-    # Now add the POSIX API onto that
-    if [ ${do_posix} = "yes" ] ; then
-      filter_nm posix/${subd}libposix.a
-    fi
+      if [ ${analyze_developmental} = "yes" ] ; then
+	filter_nm ../lib/libc/${subd}libcsupport.a
+	filter_nm ../lib/libmisc/wrapup/${subd}libmisc.a
+      fi
+      ;;
+    *) # 4.6 or newer
+      # Base set of libraries to analyse.  Do NOT include libscorecpu.a!!!
+      filter_nm score/${subd}libscore.a
+      filter_nm sapi/${subd}libsapi.a
+      filter_nm rtems/${subd}librtems.a
+
+      # Now add the POSIX API onto that
+      if [ ${do_posix} = "yes" ] ; then
+        filter_nm posix/${subd}libposix.a
+      fi
 
-    # Now add developmental libraries
-    # NOTE: all non-network libraries are listed here.  --joel 5 March 2010
-    if [ ${analyze_developmental} = "yes" ] ; then
-      # filter_nm libfs/${subd}librfs.a
-      # filter_nm libfs/${subd}libdosfs.a
-      filter_nm libfs/${subd}libdevfs.a
-      filter_nm libfs/${subd}libimfs.a
-      filter_nm libcsupport/${subd}libcsupport.a
-      # filter_nm libi2c/${subd}libi2c.a
-      # filter_nm zlib/${subd}libz.a
-      # filter_nm libmd/${subd}libmd.a
-      # filter_nm libmisc/${subd}libshell.a
-      filter_nm libmisc/${subd}libbspcmdline.a
-      filter_nm libmisc/${subd}libcpuuse.a
-      # filter_nm libmisc/${subd}libuuid.a
-      filter_nm libmisc/${subd}libstackchk.a
-      # filter_nm libmisc/${subd}libmw-fb.a
-      # NEVER INCLUDE libdummy.a!!!
-      # filter_nm libmisc/${subd}libdummy.a
-      # filter_nm libmisc/${subd}libfsmount.a
-      filter_nm libmisc/${subd}libstringto.a
-      filter_nm libmisc/${subd}libdevnull.a
-      # filter_nm libmisc/${subd}libcapture.a
-      filter_nm libmisc/${subd}libdumpbuf.a
-      # filter_nm libmisc/${subd}libmonitor.a
-      # filter_nm libmisc/${subd}libserdbg.a
-      # filter_nm libmisc/${subd}libuntar.a
-      # filter_nm libblock/${subd}libblock.a
-    fi
-  fi
+      # Now add developmental libraries
+      # NOTE: all non-network libraries are listed here.  --joel 5 March 2010
+      if [ ${analyze_developmental} = "yes" ] ; then
+        # filter_nm libfs/${subd}librfs.a
+        # filter_nm libfs/${subd}libdosfs.a
+        filter_nm libfs/${subd}libdevfs.a
+        filter_nm libfs/${subd}libimfs.a
+        filter_nm libcsupport/${subd}libcsupport.a
+        # filter_nm libi2c/${subd}libi2c.a
+        # filter_nm zlib/${subd}libz.a
+        # filter_nm libmd/${subd}libmd.a
+        # filter_nm libmisc/${subd}libshell.a
+        filter_nm libmisc/${subd}libbspcmdline.a
+        filter_nm libmisc/${subd}libcpuuse.a
+        # filter_nm libmisc/${subd}libuuid.a
+        filter_nm libmisc/${subd}libstackchk.a
+        # filter_nm libmisc/${subd}libmw-fb.a
+        # NEVER INCLUDE libdummy.a!!!
+        # filter_nm libmisc/${subd}libdummy.a
+        # filter_nm libmisc/${subd}libfsmount.a
+        filter_nm libmisc/${subd}libstringto.a
+        filter_nm libmisc/${subd}libdevnull.a
+        # filter_nm libmisc/${subd}libcapture.a
+        filter_nm libmisc/${subd}libdumpbuf.a
+        # filter_nm libmisc/${subd}libmonitor.a
+        # filter_nm libmisc/${subd}libserdbg.a
+        # filter_nm libmisc/${subd}libuntar.a
+        # filter_nm libblock/${subd}libblock.a
+      fi
+      ;;
+    esac
 }
 
 # remove symbols we do not want coverage on.
@@ -562,20 +572,20 @@
 test -d ${BASEDIR}/${BSP}-tests || mkdir ${BASEDIR}/${BSP}-tests
 
 # If requested, update and build the coverage support tools
-if [ ${do_covmerge} = "yes" ] ; then
-  echo "Updating and building covmerge..."
+if [ ${do_covoar} = "yes" ] ; then
+  echo "Updating and building covoar..."
 
   cd ${COVBASE}/../covoar
-  check_status $? "cd covmerge"
+  check_status $? "cd covoar"
 
   cvs up -Pd 2>&1 | grep -v ^cvs
   make clean all
-  check_status $? "build covmerge"
+  check_status $? "build covoar"
 
   make
-  check_status $? "make covmerge"
+  check_status $? "make covoar"
 else
-  echo "Skipping Updating and building covmerge..."
+  echo "Skipping Updating and building covoar..."
 fi
 
 # If requested, update the RTEMS tree
@@ -646,13 +656,16 @@
   cd ${BASEDIR}/b-${BSP}/
   check_status $? "cd b-${BSP}"
 
-  if [ ${RTEMS_VERSION} = 4.6 -o ${RTEMS_VERSION} = 4.5 ] ; then
-    sleep 5  # 4.5 on chroot'ed env needs this for some reason
-    make >b.log 2>&1
-  else
-    cpus=`/usr/bin/getconf _NPROCESSORS_ONLN`
-    make -j${cpus} >b.log 2>&1
-  fi
+  case ${RTEMS_VERSION} in
+    4.5*|4.6*)
+      sleep 5  # 4.5 on chroot'ed env needs this for some reason
+      make >b.log 2>&1
+      ;;
+    *)
+      cpus=`/usr/bin/getconf _NPROCESSORS_ONLN`
+      make -j${cpus} >b.log 2>&1
+      ;;
+  esac
   check_status $? "Building RTEMS for ${BSP}"
 else
   echo "Skipping Building RTEMS ..."

diff -u rtems-testing/rtems-coverage/run_coverage:1.16 rtems-testing/rtems-coverage/run_coverage:1.17
--- rtems-testing/rtems-coverage/run_coverage:1.16	Mon Feb 14 14:51:49 2011
+++ rtems-testing/rtems-coverage/run_coverage	Sun Mar 13 17:16:37 2011
@@ -73,7 +73,7 @@
   echo "time ${COVBASE}/do_coverage -A -v -u -m ${SAVE} ${PUBLISH} ${*} -B ${bsp}"
   time ${COVBASE}/do_coverage -A -v -u -m ${SAVE} ${PUBLISH} ${*} -B ${bsp}
   check_status $? "FAILED ${bsp}" 
-  rm -rf b-* *-tests
+  rm -rf b-${bsp} ${bsp}-tests
 }
 
 validate_bsp()


 *joel*:
2011-03-13	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* pc386.in: Add another failure message.

M   1.97  sim-scripts/ChangeLog
M   1.12  sim-scripts/pc386.in

diff -u rtems-testing/sim-scripts/ChangeLog:1.96 rtems-testing/sim-scripts/ChangeLog:1.97
--- rtems-testing/sim-scripts/ChangeLog:1.96	Mon Feb 14 14:51:33 2011
+++ rtems-testing/sim-scripts/ChangeLog	Sun Mar 13 17:17:11 2011
@@ -1,3 +1,7 @@
+2011-03-13	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* pc386.in: Add another failure message.
+
 2011-02-14	Joel Sherrill <joel.sherrilL at OARcorp.com>
 
 	* gdb-sim-run.in: math tests now run.

diff -u rtems-testing/sim-scripts/pc386.in:1.11 rtems-testing/sim-scripts/pc386.in:1.12
--- rtems-testing/sim-scripts/pc386.in:1.11	Sun Feb  6 10:47:43 2011
+++ rtems-testing/sim-scripts/pc386.in	Sun Mar 13 17:17:11 2011
@@ -68,6 +68,7 @@
   # faulty thread may be deleted or suspended
   for pattern in  \
      "FAULTY THREAD WILL BE " \
+     "raw handler conne" \
      "Error code pushed by processor itself"
   do
     grep "${pattern}" ${logfile}


 *joel*:
2011-03-13	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* psxtest_with_thread/.init.c.swp: Removed.

M    1.9  rtems-test-template/ChangeLog
R    1.1  rtems-test-template/psxtest_with_thread/.init.c.swp

diff -u rtems-testing/rtems-test-template/ChangeLog:1.8 rtems-testing/rtems-test-template/ChangeLog:1.9
--- rtems-testing/rtems-test-template/ChangeLog:1.8	Fri Nov  5 14:33:03 2010
+++ rtems-testing/rtems-test-template/ChangeLog	Sun Mar 13 17:17:27 2011
@@ -1,3 +1,7 @@
+2011-03-13	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* psxtest_with_thread/.init.c.swp: Removed.
+
 2010-11-05	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* psxtest/Makefile.am, psxtest/TEST.doc, psxtest/TEST.scn,


 *joel*:
2011-03-13	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* README, VERSIONS: Specify rtems-testing not gcc-testing.

M   1.66  ChangeLog
M   1.12  README
M   1.17  VERSIONS

diff -u rtems-testing/ChangeLog:1.65 rtems-testing/ChangeLog:1.66
--- rtems-testing/ChangeLog:1.65	Fri Jan 28 09:59:24 2011
+++ rtems-testing/ChangeLog	Sun Mar 13 17:17:29 2011
@@ -1,3 +1,7 @@
+2011-03-13	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* README, VERSIONS: Specify rtems-testing not gcc-testing.
+
 2011-01-28	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* VERSIONS: Various improvements as part of testing gcc 4.6.0.

diff -u rtems-testing/README:1.11 rtems-testing/README:1.12
--- rtems-testing/README:1.11	Thu Feb 19 13:14:42 2009
+++ rtems-testing/README	Sun Mar 13 17:17:30 2011
@@ -22,9 +22,9 @@
   - autoconf SOURCE directory
   - binutils SOURCE directory
   - newlib SOURCE directory
-  - gcc-testing (this package)
+  - rtems-testing (this package)
 
-Update gcc-testing/VERSIONS to point to the appropriate directories
+Update rtems-testing/VERSIONS to point to the appropriate directories
 and versions.
 
 If the various source directories contain a CVS subdirectory,
@@ -45,7 +45,7 @@
 # Add compiled tools install directory
 export PATH=${HOME}/test-gcc/install/bin:${PATH}
 # Add simulator scripts install directory
-export PATH=${HOME}/test-gcc/gcc-testing/bin:${PATH}
+export PATH=${HOME}/test-gcc/rtems-testing/bin:${PATH}
 
 mkdir ~/test-gcc
 cd ~/test-gcc
@@ -53,8 +53,8 @@
 cvs -z 9 -d :pserver:anonymous at www.rtems.org:/usr1/CVS login
 
 # test script infrastructure
-cvs -z 9 -d :pserver:anonymous at www.rtems.org:/usr1/CVS co -P gcc-testing
-make -C gcc-testing/sim-scripts
+cvs -z 9 -d :pserver:anonymous at www.rtems.org:/usr1/CVS co -P rtems-testing
+make -C rtems-testing/sim-scripts
 
 # rtems
 cvs -z 9 -d :pserver:anonymous at www.rtems.org:/usr1/CVS co -P rtems

diff -u rtems-testing/VERSIONS:1.16 rtems-testing/VERSIONS:1.17
--- rtems-testing/VERSIONS:1.16	Fri Jan 28 09:59:24 2011
+++ rtems-testing/VERSIONS	Sun Mar 13 17:17:30 2011
@@ -31,7 +31,7 @@
 INSTALL=${BASEDIR}/install-${GCC_VERSION}
 BSP_INSTALL=${INSTALL}
 #BSP_INSTALL=${BASEDIR}/bsp-install
-SCRIPTDIR=${BASEDIR}/gcc-testing
+SCRIPTDIR=${BASEDIR}/rtems-testing
 LOGDIR=${BASEDIR}/log
 RESULTSDIR=${BASEDIR}/results-trunk
 



--

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/20110313/103f6e29/attachment.html>


More information about the vc mailing list