change log for rtems-testing (2011-02-07)
rtems-vc at rtems.org
rtems-vc at rtems.org
Mon Feb 7 23:10:05 UTC 2011
*joel*:
2011-02-07 Joel Sherrill <joel.sherrill at oarcorp.com>
* do_one, gcc_status, gccgo_status, rtems_gccgo_init.c, rundeja,
test_driver: Make directory names more consistent. Clean up.
* testsuite/ada/acats/Makefile.rtems: Attempt to filter -G0
M 1.21 gcc/ChangeLog
M 1.23 gcc/do_one
M 1.3 gcc/gcc_status
M 1.2 gcc/gccgo_status
M 1.3 gcc/rtems_gccgo_init.c
M 1.14 gcc/rundeja
M 1.20 gcc/test_driver
M 1.14 gcc/testsuite/ada/acats/Makefile.rtems
diff -u rtems-testing/gcc/ChangeLog:1.20 rtems-testing/gcc/ChangeLog:1.21
--- rtems-testing/gcc/ChangeLog:1.20 Fri Jan 28 12:21:23 2011
+++ rtems-testing/gcc/ChangeLog Mon Feb 7 16:32:35 2011
@@ -1,3 +1,9 @@
+2011-02-07 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * do_one, gcc_status, gccgo_status, rtems_gccgo_init.c, rundeja,
+ test_driver: Make directory names more consistent. Clean up.
+ * testsuite/ada/acats/Makefile.rtems: Attempt to filter -G0
+
2011-01-28 Joel Sherrill <joel.sherrill at oarcorp.com>
* do_one, networkconfig.h, rtems_gccgo_init.c: Now running Go tests on
diff -u rtems-testing/gcc/do_one:1.22 rtems-testing/gcc/do_one:1.23
--- rtems-testing/gcc/do_one:1.22 Fri Jan 28 12:21:23 2011
+++ rtems-testing/gcc/do_one Mon Feb 7 16:32:35 2011
@@ -2,16 +2,19 @@
#
# Execution Times (for sparc-rtems${RTEMS_VERSION})
#
-# - building native - 45m43.697s
-# - building stage1 (non-multilib) - 7m26.749s
-# - building stage1 (multilib) -
-# - building Ada stack (non-multilib) - 13m25.945s
-# - building RTEMS - 12m27.799s
-# - Running ACAT (sis) -
-# - Running GCC Test Suite (sis) - 60m26.523s
+# - building native - TBD
+# - building binutils - 1m31.310s
+# - building GDB - 1m39.318s
+# - building stage1 (multilib) - 10m22.371s
+# - building RTEMS (multilib + BSP) - 22m47.048s
+# - building Ada (multilib) - ?
+# - building Go (multilib) - ?
+# - Running GCC Test Suite (sis) - 122m47.289s
+# - Running ACAT (sis) - ?
+# - Running Go Test Suite (sis) - ?
#
# Computer Info
-# Fedora 8 on Intel Core2 Duo T7500 @ 2.20GHz w/ 2GB RAM
+# Fedora 14 on Intel Core2 Duo Q6600 (4 core) @ 2.40GHz w/ 4GB RAM
vfile=`dirname $0`/../VERSIONS
if [ ! -r ${vfile} ] ; then
@@ -140,6 +143,7 @@
esac
done
+run_libgotests=$run_gccgotests
########################### Grab CPU/BSP ###########################
shiftcount=`expr $OPTIND - 1`
@@ -343,9 +347,9 @@
;;
source)
echo "Building Binutils from source"
- rm -rf b-binutils-${cpu}
- mkdir b-binutils-${cpu}
- cd b-binutils-${cpu}
+ rm -rf b-${cpu}-binutils
+ mkdir b-${cpu}-binutils
+ cd b-${cpu}-binutils
(${BINUTILSDIR}/configure --target=${TARGET} --prefix=$INSTALL \
--disable-werror && \
make ${MAKEJOBS} && make install) >${LOGDIR}/${cpu}-binutils.log 2>&1
@@ -357,7 +361,7 @@
make check >${LOGDIR}/${cpu}-binutils-check.log 2>&1
grep ^FAIL ${LOGDIR}/${cpu}-binutils-check.log
cd ..
- test ${do_cleanup} = "yes" && rm -rf b-binutils-${cpu}
+ test ${do_cleanup} = "yes" && rm -rf b-${cpu}-binutils
;;
*)
echo "Where do I get the binutils from?"
@@ -368,7 +372,7 @@
if [ ${do_binutils} = yes ] ; then
echo "Building binutils..."
- j_binutils ${cpu}
+ time j_binutils ${cpu}
fi
######### Install gdb
@@ -408,9 +412,9 @@
source)
echo "Building GDB from source"
cd ${BASEDIR}
- rm -rf b-gdb-${cpu}
- mkdir b-gdb-${cpu}
- cd b-gdb-${cpu}
+ rm -rf b-${cpu}-gdb
+ mkdir b-${cpu}-gdb
+ cd b-${cpu}-gdb
(${GDBDIR}/configure --target=${GDBTARGET} \
--enable-sim --enable-sim-hardware \
--disable-werror \
@@ -421,7 +425,7 @@
exit 1
fi
cd ..
- test ${do_cleanup} = "yes" && rm -rf b-gdb-${cpu}
+ test ${do_cleanup} = "yes" && rm -rf b-${cpu}-gdb
;;
*)
echo "Where do I get the gdb from?"
@@ -432,7 +436,7 @@
if [ ${do_gdb} = yes ] ; then
echo "Building gdb..."
- j_gdb ${cpu}
+ time j_gdb ${cpu}
fi
######### Build a native compiler
@@ -448,27 +452,33 @@
if [ ${do_native} = "yes" ] ; then
echo "Building native compiler..."
- (cd ${BASEDIR} && \
- rm -rf b-native && \
- mkdir b-native && \
- cd b-native && \
- time j_native >${LOGDIR}/native.log 2>&1 && cd .. ) || exit 1
- test ${do_cleanup} = "yes" && rm -rf b-native
+ cd ${BASEDIR} && \
+ rm -rf b-native && \
+ mkdir b-native && \
+ cd b-native
+ time j_native >${LOGDIR}/native.log 2>&1
+ if [ $? -ne 0 ] ; then
+ echo "Failed to build native gcc"
+ exit 1
+ fi
+ cd ..
+ test ${do_cleanup} = "yes" && rm -rf b-native
else
echo Skipping native
fi
# END of build native compiler
######### Build Cross C/C++ baseline compiler
-j_gcc1()
+j_gcc()
{
+set -x
if [ X${1} = X ] ; then
echo Usage: $0 TARGET_CPU
exit 1
fi
- if [ ! -d ${INSTALL} ]; then
+ if [ ! -d ${INSTALL} ] ; then
echo ${INSTALL} does not exist
exit 1
fi
@@ -520,10 +530,10 @@
if [ ${do_stage1} = "yes" ] ; then
echo "Building Stage 1 compiler (C/C++)..."
(cd ${BASEDIR} && \
- rm -rf b-gcc1-${cpu} && \
- mkdir b-gcc1-${cpu} && \
- cd b-gcc1-${cpu} && \
- time j_gcc1 ${cpu} >${LOGDIR}/${cpu}-stage1.log 2>&1 && cd ..) || exit 1
+ rm -rf b-${cpu}-gcc && \
+ mkdir b-${cpu}-gcc && \
+ cd b-${cpu}-gcc && \
+ time j_gcc ${cpu} >${LOGDIR}/${cpu}-gcc.log 2>&1 && cd ..) || exit 1
else
echo Skipping Stage 1 for ${cpu}
fi
@@ -563,7 +573,12 @@
${RTEMSDIR}/configure --target=${TARGET} ${ENABLE_BSP} \
${RTEMS_ARGS} --enable-maintainer-mode --disable-tests \
--prefix=${BSP_INSTALL} && make ${MAKEJOBS} ${MAKE_ARG} && make install
+ status=$?
+ if [ $status -ne 0 ] ; then
+ echo "Failed building RTEMS for ${cpuArg}/${bspArg}"
+ fi
cd ..
+ exit $status
}
if [ ${do_rtems} = "yes" ] ; then
@@ -581,7 +596,7 @@
##### Do the gcc tests
if [ ${run_gcctests} = "yes" ] ; then
echo "Running GCC Tests..."
- cd ${BASEDIR}/b-gcc1-${cpu} || exit 1
+ cd ${BASEDIR}/b-${cpu}-gcc || exit 1
time sh -x ${SCRIPTDIR}/gcc/rundeja ${bsp} gcc\
>${LOGDIR}/${cpu}-gcctests-${bsp}.log 2>&1
@@ -611,7 +626,7 @@
else
echo Skipping GCC DejaGNU tests for ${cpu}/${bsp}
fi
-test ${do_cleanup} = "yes" && rm -rf b-gcc1-${cpu}
+test ${do_cleanup} = "yes" && rm -rf b-${cpu}-gcc
##### Build an Ada compiler now that we have a cross installed
j_gccada()
@@ -622,7 +637,7 @@
fi
TARGET=${1}-rtems${RTEMS_VERSION}
- if [ ! -d ${INSTALL} ]; then
+ if [ ! -d ${INSTALL} ] ; then
echo ${INSTALL} does not exist
exit 1
fi
@@ -648,15 +663,19 @@
--enable-languages=c,ada --target=$TARGET --prefix=$INSTALL &&
make ${MAKEJOBS} &&
make install
+ status=$?
+ if [ $status -ne 0 ] ; then
+ echo "Failed building Go"
+ fi
}
ada_fail="no"
if [ ${do_ada} = "yes" ] ; then
echo "Building Stage 2 cross Ada compiler for ${1} ..."
(cd ${BASEDIR} && \
- rm -rf b-gccada-${cpu} && \
- mkdir b-gccada-${cpu} && \
- cd b-gccada-${cpu} && \
+ rm -rf b-${cpu}-ada && \
+ mkdir b-${cpu}-ada && \
+ cd b-${cpu}-ada && \
time j_gccada ${cpu} >${LOGDIR}/${cpu}-ada.log 2>&1 && cd ..) || \
ada_fail="yes"
else
@@ -665,7 +684,7 @@
#### Run the Ada ACATS tests
if [ ${run_acats} = "yes" -a \
- -d ${BASEDIR}/b-gccada-${cpu} -a ${ada_fail} = "no" ] ; then
+ -d ${BASEDIR}/b-${cpu}-ada -a ${ada_fail} = "no" ] ; then
echo "Running ACATS..."
cd ${GCCDIR}/gcc/testsuite/ada/acats/ || exit 1
@@ -688,7 +707,7 @@
fi
if [ ${do_ada} = "yes" ] ; then
- test ${do_cleanup} = "yes" && rm -rf b-gccada-${cpu}
+ test ${do_cleanup} = "yes" && rm -rf b-${cpu}-ada
fi
##### Build a GCC Go compiler now that we have a cross installed
@@ -701,7 +720,7 @@
fi
TARGET=${1}-rtems${RTEMS_VERSION}
- if [ ! -d ${INSTALL} ]; then
+ if [ ! -d ${INSTALL} ] ; then
echo ${INSTALL} does not exist
exit 1
fi
@@ -733,15 +752,20 @@
--enable-languages=c,go --target=$TARGET --prefix=$INSTALL &&
make ${MAKEJOBS} &&
make install
+ status=$?
+ if [ $status -ne 0 ] ; then
+ echo "Failed building Go"
+ fi
+ exit $status
}
go_fail="no"
if [ ${do_gccgo} = "yes" ] ; then
echo "Building Stage 2 cross GCC Go compiler for ${1} ..."
(cd ${BASEDIR} && \
- rm -rf b-gccgo1-${cpu} && \
- mkdir b-gccgo1-${cpu} && \
- cd b-gccgo1-${cpu} && \
+ rm -rf b-${cpu}-go && \
+ mkdir b-${cpu}-go && \
+ cd b-${cpu}-go && \
time j_gccgo ${cpu} >${LOGDIR}/${cpu}-go.log 2>&1 && cd ..) || \
go_fail="yes"
else
@@ -751,9 +775,9 @@
##### Do the gccgo tests
set -x
if [ $a ${run_gccgotests} = "yes" -a \
- -d ${BASEDIR}/b-gccgo1-${cpu} -a ${go_fail} = "no" ] ; then
+ -d ${BASEDIR}/b-${cpu}-go -a ${go_fail} = "no" ] ; then
echo "Running GCC Go Tests..."
- cd ${BASEDIR}/b-gccgo1-${cpu}/gcc || exit 1
+ cd ${BASEDIR}/b-${cpu}-go/gcc || exit 1
time sh -x ${SCRIPTDIR}/gcc/rundeja ${bsp} gccgo \
>${LOGDIR}/${cpu}-gccgotests-${bsp}.log 2>&1
@@ -763,7 +787,7 @@
if [ ${do_mail} = "yes" ] ; then
echo Sending Go test results to GCC community..
- ${DIR}/contrib/test_summary -m gcc-testresults at gcc.gnu.org | sh
+ ${GCCDIR}/contrib/test_summary -m gcc-testresults at gcc.gnu.org | sh
if [ $? -ne 0 ] ; then
echo "Failed to email GCC Go Test Results to GCC Community .. bailing"
exit 1
@@ -783,9 +807,9 @@
##### Do the libgo tests
if [ $a ${run_libgotests} = "yes" -a \
- -d ${BASEDIR}/b-gccgo1-${cpu} -a ${go_fail} = "no" ] ; then
+ -d ${BASEDIR}/b-${cpu}-go -a ${go_fail} = "no" ] ; then
echo "Running libgo DejaGNU tests..."
- cd ${BASEDIR}/b-gccgo1-${cpu} || exit 1
+ cd ${BASEDIR}/b-${cpu}-go || exit 1
time sh -x ${SCRIPTDIR}/gcc/rundeja ${bsp} libgo \
>${LOGDIR}/${cpu}-libgotests-${bsp}.log 2>&1
@@ -798,6 +822,6 @@
fi
if [ ${do_gccgo} = "yes" ] ; then
- test ${do_cleanup} = "yes" && rm -rf b-gccgo1-${cpu}
+ test ${do_cleanup} = "yes" && rm -rf b-${cpu}-go
fi
exit 0
diff -u rtems-testing/gcc/gcc_status:1.2 rtems-testing/gcc/gcc_status:1.3
--- rtems-testing/gcc/gcc_status:1.2 Tue Jan 20 09:27:40 2009
+++ rtems-testing/gcc/gcc_status Mon Feb 7 16:32:35 2011
@@ -22,12 +22,12 @@
fi
-if [ ! -d ${BASEDIR}/b-gcc1-${cpu}/gcc/testsuite ] ; then
+if [ ! -d ${BASEDIR}/b-${cpu}-gcc/gcc/testsuite ] ; then
echo Test directory not found
exit 1
fi
-cd ${BASEDIR}/b-gcc1-${cpu}/gcc/testsuite
+cd ${BASEDIR}/b-${cpu}-gcc/gcc/testsuite
while :
do
for BASE in gcc g++
diff -u rtems-testing/gcc/gccgo_status:1.1 rtems-testing/gcc/gccgo_status:1.2
--- rtems-testing/gcc/gccgo_status:1.1 Tue Dec 7 15:09:31 2010
+++ rtems-testing/gcc/gccgo_status Mon Feb 7 16:32:35 2011
@@ -22,12 +22,12 @@
fi
-if [ ! -d ${BASEDIR}/b-gccgo1-${cpu}/gcc/testsuite ] ; then
+if [ ! -d ${BASEDIR}/b-${cpu}-go/gcc/testsuite ] ; then
echo Test directory not found
exit 1
fi
-cd ${BASEDIR}/b-gccgo1-${cpu}/gcc/testsuite
+cd ${BASEDIR}/b-${cpu}-go/gcc/testsuite
while :
do
for BASE in go
diff -u rtems-testing/gcc/rtems_gccgo_init.c:1.2 rtems-testing/gcc/rtems_gccgo_init.c:1.3
--- rtems-testing/gcc/rtems_gccgo_init.c:1.2 Fri Jan 28 12:21:23 2011
+++ rtems-testing/gcc/rtems_gccgo_init.c Mon Feb 7 16:32:35 2011
@@ -130,6 +130,7 @@
// Works with 32 Mb too, this is faster
//#define CONFIGURE_EXECUTIVE_RAM_SIZE (5 * 1024 * 1024)
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 500
+#define CONFIGURE_MAXIMUM_POSIX_SEMAPHORES 500
#define CONFIGURE_MAXIMUM_POSIX_THREADS 400
#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 500
#define CONFIGURE_MAXIMUM_TASK_VARIABLES (2 * 400)
diff -u rtems-testing/gcc/rundeja:1.13 rtems-testing/gcc/rundeja:1.14
--- rtems-testing/gcc/rundeja:1.13 Wed Aug 4 09:01:52 2010
+++ rtems-testing/gcc/rundeja Mon Feb 7 16:32:35 2011
@@ -40,6 +40,12 @@
DEJABSP=m32csim
BSP_SIM=m32csim
;;
+ m32rsim)
+ CPU=m32r
+ BSP=m32rsim
+ DEJABSP=m32rsim
+ BSP_SIM=m32rsim
+ ;;
mcf5206elite)
CPU=m68k
BSP=mcf5206elite
diff -u rtems-testing/gcc/test_driver:1.19 rtems-testing/gcc/test_driver:1.20
--- rtems-testing/gcc/test_driver:1.19 Fri Jan 28 09:59:18 2011
+++ rtems-testing/gcc/test_driver Mon Feb 7 16:32:35 2011
@@ -48,7 +48,7 @@
usage()
{
cat <<EOF
-do_one [options] CPU .. CPU
+test_driver [options] CPU .. CPU
-A - enable clean, native, and update
-a - build Ada (default=yes)
-G - build GCC Go (default=no)
@@ -69,7 +69,7 @@
verbose="no"
doAda="yes"
doGccGo="no"
-doMail="no"
+doMail="yes"
doTests="yes"
while getopts AacmnuGTUv OPT
@@ -108,8 +108,8 @@
fi
done
-CPUS_PART1="arm h8300 i386 m32c mips sh sparc64"
-CPUS_PART2="bfin lm32 m32r m68k powerpc sparc avr"
+CPUS_PART1="avr arm h8300 i386 m32c mips sh sparc64"
+CPUS_PART2="bfin lm32 m32r m68k powerpc sparc"
ALL_CPUs="${CPUS_PART1} ${CPUS_PART2}"
if [ "X${CPUs}" = "X" ] ; then
diff -u rtems-testing/gcc/testsuite/ada/acats/Makefile.rtems:1.13 rtems-testing/gcc/testsuite/ada/acats/Makefile.rtems:1.14
--- rtems-testing/gcc/testsuite/ada/acats/Makefile.rtems:1.13 Fri Jan 28 09:59:18 2011
+++ rtems-testing/gcc/testsuite/ada/acats/Makefile.rtems Mon Feb 7 16:32:36 2011
@@ -14,6 +14,8 @@
GNATCHOP=$(AS:as=gnatchop)
OBJCOPY=$(AS:as=objcopy)
CARGS = -B${rtemsdir}/lib/ -specs bsp_specs -qrtems
+# GCC 4.6 in SVN doesn't like -G0... :(
+CPU_CFLAGS_ADA=$(shell echo $(CPU_CFLAGS) | sed -e 's/-GO//')
CARGS += $(LDFLAGS) $(AM_LDFLAGS)
# RTS= --RTS=$(shell $(CC) -print-multi-directory $(CFLAGS))
@@ -90,7 +92,7 @@
stamp-targetmake:
echo "target_gnatmake() {" >$@
echo "set -x" >>$@
- echo ' $(GNATMAKE) $(CPU_CFLAGS) -fstack-check -v -O $$gnatflags $$gccflags $$* -bargs -Mgnat_main -largs $(CARGS) '$(shell pwd)/rtems_init.o' $$EXTERNAL_OBJECTS' >> $@
+ echo ' $(GNATMAKE) $(CPU_CFLAGS_ADA) -fstack-check -v -O $$gnatflags $$gccflags $$* -bargs -Mgnat_main -largs $(CARGS) '$(shell pwd)/rtems_init.o' $$EXTERNAL_OBJECTS' >> $@
echo "}" >>$@
# $(GNATMAKE) -v -O -gnata -gnatE -gnato $(MAIN) -g \
*joel*:
2011-02-07 Joel Sherrill <joel.sherrill at oarcorp.com>
* gdb-sim-run.in: Match ACATS failure messages correctly.
M 1.94 sim-scripts/ChangeLog
M 1.51 sim-scripts/gdb-sim-run.in
diff -u rtems-testing/sim-scripts/ChangeLog:1.93 rtems-testing/sim-scripts/ChangeLog:1.94
--- rtems-testing/sim-scripts/ChangeLog:1.93 Sun Feb 6 10:47:43 2011
+++ rtems-testing/sim-scripts/ChangeLog Mon Feb 7 16:50:46 2011
@@ -1,3 +1,7 @@
+2011-02-07 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * gdb-sim-run.in: Match ACATS failure messages correctly.
+
2011-02-06 Joel Sherrill <joel.sherrill at oarcorp.com>
* gdb-sim-run.in, pc386.in: Messages have changed.
diff -u rtems-testing/sim-scripts/gdb-sim-run.in:1.50 rtems-testing/sim-scripts/gdb-sim-run.in:1.51
--- rtems-testing/sim-scripts/gdb-sim-run.in:1.50 Sun Feb 6 10:47:43 2011
+++ rtems-testing/sim-scripts/gdb-sim-run.in Mon Feb 7 16:50:46 2011
@@ -204,7 +204,7 @@
"^\*\*\* END OF " \
"^.*EXECUTIVE SHUTDOWN" \
"^assertion .* failed: file .*, line .*, function:" \
- "===.*FAILED.*===" \
+ "\*\*\*.*FAILED.*\*\*\*" \
"===.*PASSED.*===" \
"FAULTY THREAD WILL BE " \
"\*\*\* EXIT code "
--
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/20110207/e834824b/attachment.html>
More information about the vc
mailing list