summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-05-21 15:34:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-05-21 15:34:39 +0000
commit2cfb1d31c54e10944cecc526325fa33870d3f60d (patch)
tree5cb7f165a1dfe530536ff4f3fe020cca76c46374 /gcc
parent0e0825bca150a7ea6375ce9c5f0871fed40048f9 (diff)
2010-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* do_one: Only send results if things ran OK. * test_driver: Add quotes in terms of test. * testsuite/ada/acats/Makefile.rtems: Add lm32_evr and m32rsim.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rwxr-xr-xgcc/do_one16
-rwxr-xr-xgcc/test_driver2
-rw-r--r--gcc/testsuite/ada/acats/Makefile.rtems9
4 files changed, 22 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e95850e..3d23b6c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2010-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * do_one: Only send results if things ran OK.
+ * test_driver: Add quotes in terms of test.
+ * testsuite/ada/acats/Makefile.rtems: Add lm32_evr and m32rsim.
+
2010-04-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* do_one, test_driver: Add more arguments. Remove early exit.
diff --git a/gcc/do_one b/gcc/do_one
index f1610c7..eb924b1 100755
--- a/gcc/do_one
+++ b/gcc/do_one
@@ -613,14 +613,16 @@ if [ ${run_acats} = "yes" -a -d b-gcc2-${cpu} ] ; then
cd ${GCCDIR}/gcc/testsuite/ada/acats/ || exit 1
time ${ADASCRIPTDIR}/run_all_rtems.sh ${INSTALL} ${BSP_INSTALL} \
- ${TARGET} ${bsp} >${LOGDIR}/${cpu}-acats-${bsp}-build.log 2>&1
- if [ -r work-${bsp}/acats.log ] ; then
- cp work-${bsp}/acats.log ${LOGDIR}/${cpu}-acats-${bsp}.log
- fi
+ ${TARGET} ${bsp} >${LOGDIR}/${cpu}-acats-${bsp}-build.log 2>&1
+ if [ $? -eq 0 ] ; then
+ if [ -r work-${bsp}/acats.log ] ; then
+ cp work-${bsp}/acats.log ${LOGDIR}/${cpu}-acats-${bsp}.log
+ fi
- if [ ${do_mail} = "yes" ] ; then
- echo Sending ACATS test results to GCC community..
- ${ADASCRIPTDIR}/rtems_generate_acats_email ${cpu} ${bsp} yes
+ if [ ${do_mail} = "yes" ] ; then
+ echo Sending ACATS test results to GCC community..
+ ${ADASCRIPTDIR}/rtems_generate_acats_email ${cpu} ${bsp} yes
+ fi
fi
cd ../../../../.. || exit 1
diff --git a/gcc/test_driver b/gcc/test_driver
index 4ee3b10..81a9acb 100755
--- a/gcc/test_driver
+++ b/gcc/test_driver
@@ -108,7 +108,7 @@ if [ ${verbose} = "yes" ] ; then
echo "Build Ada " ${doAda}
echo "Email Results: " ${doMail}
echo "Run Tests: " ${doTests}
- if [ X${CPUs} = X ] ; then
+ if [ "X${CPUs}" = "X" ] ; then
echo "CPUs to Build: " ALL
else
echo "CPUs to Build: " ${CPUs}
diff --git a/gcc/testsuite/ada/acats/Makefile.rtems b/gcc/testsuite/ada/acats/Makefile.rtems
index 5737395..a95279a 100644
--- a/gcc/testsuite/ada/acats/Makefile.rtems
+++ b/gcc/testsuite/ada/acats/Makefile.rtems
@@ -36,6 +36,12 @@ stamp-targetrun:
ifeq ($(RTEMS_BSP),jmr3904)
echo " jmr3904 -C -l 240 $$"'*' >> $@
endif # jmr3904
+ ifeq ($(RTEMS_BSP),lm32_evr)
+ echo " qemu-lm32_evr -C -l 240 $$"'*' >> $@
+ endif # lm32_evr
+ ifeq ($(RTEMS_BSP),m32rsim)
+ echo " m32rsim -C -l 180 $$"'*' >> $@
+ endif # m32rsim
ifeq ($(RTEMS_BSP),psim)
echo " psim -C -l 180 $$"'*' >> $@
endif # psim
@@ -63,9 +69,6 @@ stamp-targetrun:
ifeq ($(RTEMS_BSP),mcf5206elite)
echo " nosim $$"'*' >> $@
endif # mcf5206elite
- ifeq ($(RTEMS_BSP),eZKit533)
- echo " nosim $$"'*' >> $@
- endif # mcf5206elite
echo "}" >>$@
stamp-targetgcc: