summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--VERSIONS1
-rwxr-xr-xdo_one14
3 files changed, 19 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e11c7ac..dde33f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-19 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * VERSIONS, do_one: Add sending results to RTEMS as well as GCC
+ Community.
+
2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* gcc/testsuite/ada/acats/rtems_generate_acats_email: Send status mail
diff --git a/VERSIONS b/VERSIONS
index 3f45284..b4cde6a 100644
--- a/VERSIONS
+++ b/VERSIONS
@@ -31,4 +31,5 @@ INSTALL=${BASEDIR}/install
BSP_INSTALL=${BASEDIR}/bsp-install
SCRIPTDIR=${BASEDIR}/gcc-testing
LOGDIR=${BASEDIR}/log
+RESULTSDIR=${BASEDIR}/results-trunk
diff --git a/do_one b/do_one
index ab1f78e..18b4344 100755
--- a/do_one
+++ b/do_one
@@ -492,11 +492,23 @@ if [ ${run_gcctests} = "yes" ] ; then
time sh -x ${SCRIPTDIR}/rundeja ${bsp} \
>${LOGDIR}/${cpu}-gcctests-${bsp}.log 2>&1
+ RDIR=${RESULTSDIR}/${TARGET}-${bsp}/`date +%Y-%m-%d-%H-%M-%S`
+ mkdir -p ${RDIR}
+ cp gcc/testsuite/gcc/gcc.log gcc/testsuite/gcc/gcc.sum \
+ gcc/testsuite/g++/g++.log gcc/testsuite/g++/g++.sum ${RDIR}
+
if [ ${do_mail} = "yes" ] ; then
echo Sending test results to GCC community..
${GCCDIR}/contrib/test_summary -m gcc-testresults@gcc.gnu.org | sh
if [ $? -ne 0 ] ; then
- echo "Failed to email GCC Test Results .. bailing"
+ echo "Failed to email GCC Test Results to GCC Community .. bailing"
+ exit 1
+ fi
+
+ echo Sending test results to RTEMS community..
+ ${GCCDIR}/contrib/test_summary -o -m rtems-tooltestresults@rtems.org | sh
+ if [ $? -ne 0 ] ; then
+ echo "Failed to email GCC Test Results to RTEMS Community .. bailing"
exit 1
fi
fi